/* Modal de confirmação de nome */
.name-confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.name-confirmation-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.name-confirmation-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    animation: slideInUp 0.3s ease-out;
}

.name-confirmation-title {
    font-size: 2rem;
    font-weight: 200;
    color: rgb(0, 0, 0);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.name-confirmation-title i {
    font-size: 2.2rem;
    color: #2196F3;
    opacity: 0.8;
}

.name-confirmation-title span {
    font-size: 2rem;
    font-weight: 200;
}

.user-name {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2196F3;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(33, 150, 243, 0.3);
}

.name-confirmation-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.name-confirmation-button {
    background: rgba(255, 255, 255, 0.95);
    border: solid 3px #bedbff;
    border-radius: 15px;
    padding: 1.5rem 2.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: rgb(65, 65, 65);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.name-confirmation-button:hover {
    background: rgba(255, 255, 255, 1);
    border-color: oklch(0.901 0.076 70.697);
    transform: translateY(-2px);
}

.name-confirmation-button.yes {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border-color: #4CAF50;
}

.name-confirmation-button.no {
    background: rgba(255, 255, 255, 0.9);
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.name-confirmation-button.no:hover {
    background: #ff6b6b;
    color: white;
}

/* Modal de entrada de nome */
.name-input-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.name-input-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.name-input-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 5px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: solid 4px #bedbff;
    animation: slideInUp 0.3s ease-out;
    position: absolute;
    top: 25px;
    margin-top: 220px!important;
}

.name-input-title {
    font-size: 2rem;
    font-weight: 200;
    color: rgb(0, 0, 0);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.name-input-title i {
    font-size: 2.2rem;
    color: #FF9800;
    opacity: 0.8;
}

.name-input-title span {
    font-size: 2rem;
    font-weight: 200;
}

.name-input-subtitle {
    font-size: 1.2rem;
    color: rgb(65, 65, 65);
    margin-bottom: 2rem;
    opacity: 0.8;
}

.name-input-field {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.5rem;
    border: solid 3px #bedbff;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    color: rgb(65, 65, 65);
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
}

.name-input-field:focus {
    outline: none;
    border-color: oklch(0.901 0.076 70.697);
    box-shadow: 0 0 0 3px rgba(190, 219, 255, 0.3);
}

.name-input-error {
    color: #ff0d0d;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    background: rgb(227 9 9 / 10%);
    border-radius: 5px;
    border: 1px solid rgb(255 0 0 / 42%);
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.name-input-error.show {
    display: block;
}

.name-input-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.name-input-button {
    background: rgba(255, 255, 255, 0.95);
    border: solid 3px #bedbff;
    border-radius: 5px;
    padding: 1.5rem 2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: rgb(65, 65, 65);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.name-input-button:hover {
    background: rgba(255, 255, 255, 1);
    border-color: oklch(0.901 0.076 70.697);
    transform: translateY(-2px);
}

.name-input-button.confirm {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border-color: #4CAF50;
}

.name-input-button.cancel {
    background: rgba(255, 255, 255, 0.9);
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.name-input-button.cancel:hover {
    background: #ff6b6b;
    color: white;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #4CAF50;
    animation: spin 1s ease-in-out infinite;
    margin: 1rem 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


.escolhas {
    display: flex;
    padding: 10px;
    gap: 10px;
    margin-top: -19px;
    margin-bottom: 20px;
    justify-content: center;
}


.escolhas label {
    border: 2px solid #bedbff;
    padding: 12px;
    border-radius: 7px;
    background: white;
    cursor: pointer;
    width: 173px;
}


/* Responsividade */
@media (max-width: 768px) {
    .name-confirmation-content,
    .name-input-content {
        padding: 2rem;
        max-width: 90%;
    }

    
    .name-confirmation-title i,
    .name-input-title i {
        font-size: 1.8rem;
    }
    
    .user-name {
        font-size: 2rem;
        padding: 1rem;
    }
    
    .name-confirmation-buttons,
    .name-input-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .name-confirmation-button,
    .name-input-button {
        width: 100%;
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .name-confirmation-content,
    .name-input-content {
        padding: 1.5rem;
    }
    
    .name-confirmation-title,
    .name-input-title {
        font-size: 1.4rem;
    }
    
    .user-name {
        font-size: 1.6rem;
    }
    
    .name-input-field {
        font-size: 1.2rem;
        padding: 1.2rem;
    }
} 