/* Stili per il popup di autenticazione */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-popup {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.auth-header {
    background-color: #0d6efd;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.auth-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: white;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #dee2e6;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-tab.active {
    border-bottom: 3px solid #0d6efd;
    color: #0d6efd;
}

.auth-tab:hover:not(.active) {
    background-color: #f8f9fa;
}

.auth-body {
    padding: 20px;
}

.auth-form-group {
    margin-bottom: 20px;
}

.auth-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.auth-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1rem;
}

.auth-form-group input:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.auth-btn:hover {
    background-color: #0b5ed7;
}

.auth-footer {
    text-align: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.auth-footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.auth-message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    display: none;
}

.auth-message.error {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.auth-message.success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    opacity: 0.8;
}

.auth-close:hover {
    opacity: 1;
}

.auth-forgot {
    text-align: right;
    margin-top: -15px;
    margin-bottom: 15px;
}

.auth-forgot a {
    color: #6c757d;
    font-size: 0.85rem;
    text-decoration: none;
}

.auth-forgot a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.auth-terms {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 15px;
    text-align: center;
} 