:root {
    --color-primary: #024ddf;
    --color-background: #ffffff;
    --color-title: #333;
    --color-text: #333;
    --color-special: #ff8728;
    --color-error: #e74c3c;
    --color-success: #2ecc71;
    --color-border: #e0e0e0;
    --border-radius-btn: 25px;
    --border-radius-input: 15px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    padding-bottom: 150px;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    margin-top: 100px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-title);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-input);
    font-size: 1rem;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(39, 85, 211, 0.2);
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius-btn);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: #1f46b3;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: white;
    border: 2px solid #ff8728;
    color: var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: white;
}

.btn-special {
    background-color: var(--color-special);
    color: white;
}

.btn-special:hover {
    background-color: #e67916;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-block {
    display: block;
    width: 100%;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid var(--color-success);
    color: var(--color-success);
}

.alert-error {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid var(--color-error);
    color: var(--color-error);
}

.alert-error p {
    margin-bottom: 0.5rem;
}

.alert-error p:last-child {
    margin-bottom: 0;
}

.alert strong {
    font-weight: 700;
}

.reservation-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    margin-top: 30px;
    position: relative;
}

.reservation-steps::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-border);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background-color: var(--color-background);
    padding: 0 10px;
    text-align: center;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--color-border);
    color: var(--color-text);
    margin: 0 auto 10px;
}

.step.active .step-number {
    background-color: var(--color-primary);
    color: white;
}

.step.completed .step-number {
    background-color: var(--color-success);
    color: white;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 250px;
}

.service-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}

.service-card:hover {
    border-color: var(--color-primary);
    transform: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-card.selected {
    border-color: var(--color-primary);
    background-color: #f5f7ff;
    box-shadow: 0 2px 8px rgba(39, 85, 211, 0.15);
    transform: none;
}

.service-card.selected::after {
    display: none;
}

.service-info {
    flex: 1;
}

.service-card h3 {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 500;
}

.service-card .duration {
    font-size: 14px;
    color: #777;
    margin-bottom: 0;
}

.service-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card .price {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 16px;
    margin-bottom: 0;
}

.service-select-icon {
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
}

.service-card.selected .service-select-icon {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: white;
}

.selected-indicator {
    display: none;
}

.date-selector {
    margin-bottom: 30px;
}

.custom-date-selector {
    position: relative;
    margin-bottom: 30px;
    padding: 0 30px;
    max-width: 1000px;
}

.date-navigation {
    position: absolute;
    top: -35px;
    right: 0;
    display: flex;
    gap: 5px;
}

.nav-arrow {
    background-color: #f0f0f0;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.nav-arrow:hover {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.date-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) transparent;
    margin-bottom: 20px;
}

.date-grid::-webkit-scrollbar {
    height: 6px;
}

.date-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin: 0 10px;
}

.date-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--color-primary), #4371e0);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.date-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #1f46b3, var(--color-primary));
    transform: scaleY(1.2);
}

.date-grid::-webkit-scrollbar-thumb:active {
    background: var(--color-primary);
}

.date-option {
    min-width: 70px;
    height: 90px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    padding: 8px;
    box-sizing: border-box;
}

.date-option:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.date-option.selected {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.date-day {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.date-number {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.date-month {
    font-size: 12px;
    text-transform: uppercase;
}

.date-today {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-special);
    color: white;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 140px;
}

@media (min-width: 768px) {
    .time-slots {
        grid-template-columns: repeat(4, 1fr);
    }
}

.time-slot {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.time-slot:hover {
    border-color: var(--color-primary);
    background-color: rgba(39, 85, 211, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.time-slot.selected {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 3px 10px rgba(39, 85, 211, 0.3);
    transform: translateY(-3px);
}

.time-slot.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f9f9f9;
}

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--color-primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

input[type="date"] {
    cursor: pointer;
    padding-right: 30px;
    position: relative;
    z-index: 1;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 2;
}

.date-selector .form-group {
    position: relative;
}

.date-selector .form-group::after {
    content: "📅";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 0;
}

.date-selector input[type="date"] {
    width: 100%;
    max-width: 250px;
}

#fecha-selector h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
}

.date-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.date-header h2 {
    margin: 0;
    flex-grow: 1;
    text-align: center;
}

.date-nav-btn {
    background-color: var(--color-primary);
    border: 1px solid var(--color-border);
    color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.date-nav-btn:hover {
    background-color: var(--hover-primary);
    color: white;
    border-color: var(--color-primary);
}

.category-section {
    margin-bottom: 30px;
}

.category-title {
    margin-bottom: 15px;
    color: #2755d3;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 8px;
}

.services-header {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    background-color: #f8f9fa;
    margin-bottom: 15px;
    border-radius: 25px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) transparent;
}

.services-header::-webkit-scrollbar {
    height: 6px;
}

.services-header::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin: 0 10px;
}

.services-header::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--color-primary), #4371e0);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.services-header::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #1f46b3, var(--color-primary));
    transform: scaleY(1.2);
}

.services-header::-webkit-scrollbar-thumb:active {
    background: var(--color-primary);
}

.service-category-tab {
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 20px;
    cursor: pointer;
    color: #666;
    font-weight: 500;
    margin-right: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.service-category-tab:last-child {
    margin-right: 0;
}

.service-category-tab.active {
    background-color: var(--color-primary);
    color: white;
}

.service-category-tab:hover:not(.active) {
    background-color: #e9ecef;
}

.mobile-continue-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    background-color: #fff;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    z-index: 1000;
    border-radius: 25px;
}

.mobile-continue-bar .reservation-mini-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.mobile-continue-bar .summary-left {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-right: 15px;
}

.mobile-continue-bar .service-name {
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-title);
    margin-bottom: 4px;
}

.mobile-continue-bar .price-total {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.mobile-continue-bar .btn-continue {
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    min-width: 120px;
    white-space: nowrap;
}

.mobile-continue-bar .date-time {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text);
}

.summary-content {
    margin-bottom: 20px;
}

.summary-item {
    margin-bottom: 12px;
}

.summary-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 3px;
}

.summary-value {
    font-weight: 500;
    color: var(--color-title);
}

.negocio-info {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.negocio-foto-mini {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}

.negocio-foto-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.negocio-nombre-mini {
    font-size: 14px;
    font-weight: 500;
    margin-top: 5px;
    color: #333;
}

.auth-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 120px;
}

.auth-container {
    max-width: 500px;
    width: 100%;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.auth-tabs {
    display: flex;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 18px 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
    font-size: 16px;
}

.auth-tab.active {
    background-color: #fff;
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    font-weight: 600;
}

.auth-tab:hover:not(.active) {
    background-color: #f0f0f0;
    color: var(--color-primary);
}

.auth-content {
    padding: 30px;
}

.auth-form {
    display: block;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-form h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-title);
    text-align: center;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    background-color: #f9f9f9;
    font-size: 15px;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    border-color: var(--color-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(39, 85, 211, 0.1);
}

.auth-form small {
    display: block;
    margin-top: 6px;
    color: #777;
    font-size: 13px;
}

.auth-form .btn-primary {
    margin-top: 10px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #4371e0 100%);
    transition: all 0.3s ease;
}

.auth-form .btn-primary:hover {
    background: linear-gradient(135deg, #4371e0 0%, var(--color-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(39, 85, 211, 0.2);
}

.auth-form .alert {
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.toggle-password-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.toggle-password-btn:hover {
    color: #000;
}

.multi-select-info {
    background-color: #f0f5ff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--color-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.multi-select-count {
    font-weight: 500;
    color: var(--color-primary);
}

.multi-select-help {
    font-size: 0.9rem;
    color: black;
    margin-top: 5px;
}

.selected-services-list {
    margin-top: 15px;
    margin-bottom: 20px;
}

.selected-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 8px;
}

.selected-service-info {
    flex-grow: 1;
}

.selected-service-name {
    font-weight: 500;
    margin-bottom: 3px;
}

.selected-service-details {
    font-size: 0.9rem;
    color: #666;
}

.remove-service-btn {
    background-color: transparent;
    border: none;
    color: var(--color-error);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.remove-service-btn:hover {
    background-color: rgba(231, 76, 60, 0.1);
}

.total-price-container {
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 15px;
    text-align: right;
    color: var(--color-primary);
}

.summary-card {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-top: 10px;
}

.summary-card h4 {
    margin-top: 0;
    color: #333;
}

.summary-card p {
    margin: 5px 0;
    color: #666;
}

.action-buttons {
    margin-top: 30px;
    text-align: right;
}

.btn-continue {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
}

.negocio-info-reserva {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.negocio-foto {
    width: 100%;
    height: 140px;
    overflow: hidden;
    position: relative;
}

.negocio-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.negocio-datos {
    padding: 15px 0;
}

.negocio-nombre {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--color-title);
}

.direccion-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.direccion-container svg {
    margin-right: 6px;
    flex-shrink: 0;
}

.valoracion-container {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.workers-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.worker-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.worker-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(39, 85, 211, 0.1);
    transform: translateY(-2px);
}

.worker-card.selected {
    border-color: var(--color-primary);
    background-color: rgba(39, 85, 211, 0.05);
    box-shadow: 0 4px 12px rgba(39, 85, 211, 0.15);
}

.worker-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.worker-avatar {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.worker-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    object-fit: cover;
}

.worker-avatar i {
    font-size: 24px;
    color: #6c757d;
}

.worker-details h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.worker-role {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.worker-select-icon {
    color: var(--color-primary);
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.worker-card.selected .worker-select-icon {
    opacity: 1;
}

.worker-card:hover .worker-select-icon {
    opacity: 0.5;
}

.estrellas {
    display: flex;
    margin-right: 6px;
}

.estrella {
    margin-right: 2px;
}

.estrella.activa {
    color: #FFC107;
}

.estrella.media {
    color: #FFC107;
}

.puntuacion {
    font-weight: 600;
    margin-right: 5px;
}

.total-resenas {
    color: #777;
    font-size: 13px;
}

.separador-reserva {
    height: 1px;
    background-color: var(--color-border);
    margin: 5px 0 20px;
}

#paso-2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 30px;
}

#paso-2 .navigation-buttons {
    order: -1;
}

#fecha-selector {
    width: 100%;
}

#paso-2 .time-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 120px;
}

@media (min-width: 768px) {
    #paso-2 .time-slots {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

#paso-3 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#paso-3 .navigation-buttons {
    order: -1;
}

#paso-3 .service-summary {
    display: none;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reservation-steps {
        display: none;
    }
    
    .custom-date-selector {
        padding: 0 15px;
        max-width: 100%;
    }

    .date-navigation {
        top: -30px;
    }
    
    .service-summary {
        display: none;
    }
    
    .date-item {
        flex: 0 0 70px;
    }
    
    .date-grid {
        width: 100%;
        justify-content: flex-start;
    }
    
    .services-header {
        padding: 10px 15px;
        display: flex;
        align-items: center;
        overflow-x: auto;
        white-space: nowrap;
        background-color: #f8f9fa;
        margin-bottom: 15px;
        border-radius: 25px;
    }
    
    .service-category-tab {
        padding: 8px 15px;
        font-size: 14px;
        border-radius: 20px;
        cursor: pointer;
        color: #666;
        font-weight: 500;
        margin-right: 8px;
    }
    
    .service-category-tab:last-child {
        margin-right: 0;
    }
    
    .service-category-tab.active {
        background-color: var(--color-primary);
        color: white;
    }
    
    .category-section .category-title {
        display: none;
    }
    
    .category-section {
        margin-bottom: 20px;
    }
    
    .auth-content {
        padding: 25px 20px;
    }
    
    .auth-form h2 {
        font-size: 1.4rem;
    }
    
    .auth-tab {
        padding: 15px 10px;
        font-size: 15px;
    }
    
    .multi-select-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .multi-select-help {
        margin-top: 10px;
    }
    
    .selected-service-item {
        padding: 10px;
    }
    
    .mobile-continue-bar .negocio-info {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }
    
    .mobile-continue-bar .negocio-foto-mini {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 10px;
    }
    
    .mobile-continue-bar .negocio-foto-mini img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .auth-wrapper {
        margin-bottom: 50px;
    }
}

@media (min-width: 992px) {
    .services-header {
        justify-content: flex-start;
        margin-bottom: 20px;
    }
    
    .service-category-tab {
        padding: 10px 20px;
        font-size: 15px;
        margin-right: 10px;
    }
    
    .category-section .category-title {
        display: block;
        font-size: 1.3rem;
    }
    
    .date-grid {
        max-width: 100%;
    }
    
    #fecha-selector {
        padding-right: 20px;
    }
    
    #paso-2 .service-summary {
        display: none;
    }
}

@media (max-width: 500px) {
    .date-nav-btn {
        display: none;
    }
}

@media (max-width: 425px) {
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 140px;
    }
}

@media (max-width: 2799px) {
    .mobile-continue-bar {
        display: block;
    }
    
    body {
        padding-bottom: 120px;
    }
    
    #paso-2 {
        padding-bottom: 120px;
    }
    
    .action-buttons {
        display: none;
    }
}

@media (min-width: 800px) {
    .auth-wrapper {
        justify-content: center;
    }
    
    .auth-container {
        margin: 0 auto;
    }
}

footer h3, 
footer h4,
footer .footer-title {
    color: #ffffff !important;
} 