﻿.field-error {
    border-color: #e53e3e !important;
    border-width: 2px !important;
}


input[type="date"] {
    appearance: none; 
    -webkit-appearance: none;
    min-height: 50px; 
}

    input[type="date"]::-webkit-calendar-picker-indicator {
        display: none;
    }

.form-label-info {
    display: flex;
    gap: 10px;
}
.info-icon-registration{
    margin-bottom: 5px;
}

.modal-info-appearance {
    z-index: 20;
    margin-left: 140px;
}
    .modal-info-appearance p {
        background-color: #fffa00;
        text-align: center;
        font-weight: 500;
        border-radius: 8px;
        padding: 10px;
        width: 220px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        font-size: 15px;
    }
.modal-overlay-ticket {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    margin-left: -140px;
}

.error-message-below {
    background: rgba(229, 62, 62, 0.1);
    color: red;
    padding: 0.75rem 1rem;
    border-radius: var(--registration-radius);
    font-size: 1.2rem;
    /*margin-bottom: 0.5rem;*/
    text-align: center;
    margin-top: -15px;
}

.search-container {
    position: sticky;
    top: 0;
    background: white;
    padding: 8px;
    border-bottom: 1px solid #e2e8f0;
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
}

    .search-input:focus {
        border-color: var(--primary-color);
    }

    .search-input::placeholder {
        color: #a0aec0;
    }

.custom-select-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: transparent;
}


.custom-select-container {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.custom-select-selected {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: #fff;
    color: black;
    border: solid 2px black;
    border-radius: 5px;
    gap: 10px;
    min-height: 45px;
}

.custom-select-dropdown {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

    .custom-select-dropdown::-webkit-scrollbar {
        width: 6px;
    }

    .custom-select-dropdown::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }

.custom-select-option {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
    color: #333;
    transition: background 0.1s ease;
    cursor: pointer; /* Garante o cursor de mãozinha */
}

    .custom-select-option:hover {
        background-color: #767676; /* Azul padrão */
        color: white; /* Texto branco no hover */
    }

.flag-icon {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

/* Main Container */
.auth-page-registration {
    /* Substituído --registration-primary-light e --registration-background */
    /*background: linear-gradient(135deg, rgba(232, 90, 113, 0.1) 0%, #ffffff 50%, rgba(232, 90, 113, 0.05) 100%);*/
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .auth-page-registration::before {
        content: '';
        position: absolute;
        top: -10rem;
        right: -10rem;
        width: 20rem;
        height: 20rem;
        /* Substituído --registration-primary-light */
        background: rgba(232, 90, 113, 0.1);
        border-radius: 50%;
        filter: blur(80px);
        pointer-events: none;
    }

    .auth-page-registration::after {
        content: '';
        position: absolute;
        bottom: -10rem;
        left: -10rem;
        width: 20rem;
        height: 20rem;
        /* Substituído --registration-primary-light */
        background: rgba(232, 90, 113, 0.1);
        border-radius: 50%;
        filter: blur(80px);
        pointer-events: none;
    }

.registration-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 40rem;
}

/* Card */
.registration-card {
    /* Substituído --registration-card */
    background: #ffffff;
    /* Substituído calc(--registration-radius + 0.5rem) -> 0.75rem + 0.5rem */
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    width: 100%;
}

.registration-title {
    font-size: 1.95rem;
    font-weight: 700;
    /* Substituído --registration-foreground */
    color: #2d3748;
    text-align: center;
    margin-bottom: 1rem;
}

/* Step Indicator */
.step-indicator-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 1rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .step-circle.step-active {
        /* Mantido pois não está no root local */
        background: var(--primary-color);
        color: white;
        /* Substituído --registration-primary-glow */
        box-shadow: 0 4px 14px rgba(232, 90, 113, 0.4);
        transform: scale(1.1);
    }

    .step-circle.step-completed {
        /* Mantido pois não está no root local */
        background: var(--primary-color);
        color: white;
    }

    .step-circle.step-inactive {
        /* Substituído --registration-muted e --registration-muted-foreground */
        background: #d9d9d9cf;
        color: #718096;
    }

.check-icon {
    width: 1rem;
    height: 1rem;
}

.step-title {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    white-space: nowrap;
    /* Mantido pois não está no root local */
    color: var(--text-color);
}

    .step-title.step-title-active {
        /* Mantido pois não está no root local */
        color: var(--text-color);
    }

.step-line {
    width: 4rem;
    height: 0.25rem;
    margin: 0 0.5rem;
    border-radius: 9999px;
    /* Substituído --registration-muted */
    background: #f7fafc;
    transition: all 0.5s ease;
}

    .step-line.step-line-active {
        /* Mantido pois não está no root local */
        background: var(--primary-color);
    }

@media (min-width: 640px) {
    .step-line {
        width: 6rem;
    }
}

/* Step Content */
.step-content {
    margin-bottom: 1rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    /* Substituído --registration-foreground */
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.input-wrapper {
    position: relative;
}

.form-input {
    min-height: 50px;
    width: 100%;
    max-width: 100%;
    padding: 0.875rem 1rem;
    /*padding-right: 2.5rem;*/
    background: transparent;
    border: none;
    border: solid 2px #000000;
    border-radius: 5px;
    outline: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .form-input::placeholder {
        /* Substituído --registration-muted-foreground */
        color: #718096;
    }

    .form-input:focus {
        /* Mantido pois não está no root local */
        border-bottom-color: var(--text-color);
    }

    .form-input.has-error {
        /* Substituído --registration-destructive */
        border-bottom-color: #e53e3e;
    }

.input-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    /* Substituído --registration-muted-foreground */
    color: #718096;
    pointer-events: none;
}

/* Select */
.select-wrapper {
    position: relative;
}

.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    padding-right: 2.5rem;
    background: transparent;
    border: solid 2px #000000;
    border-radius: 5px;
    outline: none;
    font-size: 1rem;
    /* Substituído --registration-foreground */
    color: #2d3748;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
}

    .form-select:focus {
        /* Mantido pois não está no root local */
        border-bottom-color: var(--text-color);
    }

.select-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    /* Substituído --registration-muted-foreground */
    color: #718096;
    pointer-events: none;
}

/* Confirmation Step */
.confirmation-info {
    background: rgba(232, 90, 113, 0.08);
    /* Substituído --registration-radius */
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

    .confirmation-info h3 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.8rem;
    }

    .confirmation-info p {
        font-size: 1.275rem;
    }

/* Terms Box */
.terms-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    /* Substituído --registration-radius e --registration-border */
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

    .terms-box.terms-box-active {
        /* Substituído --registration-primary */
        border-color: #E85A71;
        background: rgba(232, 90, 113, 0.05);
    }

.checkbox {
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    /* Substituído --registration-primary */
    accent-color: #E85A71;
    cursor: pointer;
}

.terms-label {
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.5;
    flex: 1;
}

.terms-link {
    /* Substituído --registration-primary */
    color: #E85A71;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

    .terms-link:hover {
        text-decoration: underline;
    }

.external-icon {
    width: 0.75rem;
    height: 0.75rem;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 1rem;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    /* Substituído --registration-radius */
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    flex: 1;
}

.btn-primary {
    /* Mantido pois não está no root local */
    background: var(--primary-color);
    color: white;
}

    .btn-primary:hover:not(:disabled) {
        /* Substituído --registration-primary-glow */
        box-shadow: 0 4px 14px rgba(232, 90, 113, 0.4);
    }

    .btn-primary:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-secondary {
    background: transparent;
    /* Substituído --registration-foreground */
    color: #2d3748;
    border: 2px solid #919191;
}

    .btn-secondary:hover {
        border-color: red;
    }

.btn-icon {
    width: 1rem;
    height: 1rem;
}

/* Back Link */
.back-link-container {
    text-align: center;
    margin-top: 1rem;
}

/* Loading Spinner */
.loading-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.button-go-login {
    /* Substituído --registration-destructive */
    background: red;
    color: white;
    border: none;
    padding: 0.4rem;
    /* Substituído --registration-radius */
    border-radius: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    min-width: 200px;
    display: block; 
    margin: 0 auto 0 auto; 
    width: fit-content; 
}

/* Verification Section */
.verification-section {
    align-content: center;
    text-align: center;
}

.verification-info {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.verification-input {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.countdown {
    font-size: 0.875rem;
    margin: 1rem 0;
}

.resend-btn {
    margin-bottom: 1rem;
}

.verify-btn {
    width: 100%;
}

/* Success Section */
.success-section {    
    background: #fff;    
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 200px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    /* Substituído --registration-foreground */
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.success-section p {
    font-size: 1rem;
    /* Substituído --registration-muted-foreground */
    color: #718096;
}

.button-booking:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .form-row {
        gap: 0px;
    }

    .registration-card {
        padding: 1.5rem;
    }

    .registration-title {
        font-size: 1.5rem;
    }

    .verification-section {
        height: calc(100vh - 300px);
    }

    .step-circle {
        width: 2.2rem;
        height: 2.2rem;
        font-size: 1.2rem;
    }

    .step-title {
        font-size: 1.2rem;
    }

    .step-line {
        width: 2rem;
    }
}

@media (min-width: 800px) {
    .auth-page-registration{
        min-height: 80dvh;
    }
}
