/* login_rappresentanti.css */
/* ==================== LOGIN RAPPRESENTANTI ==================== */
/* Stile unificato con privacy/cookie policy */

.login-form {
    padding: 1.5rem 2rem 2rem;
}

.input-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 1.1rem;
    z-index: 1;
}

.login-form input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(45, 45, 45, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    background: rgba(50, 50, 50, 0.9);
}

.btn-login {
    width: 100%;
    padding: 1.2rem;
    background-image: linear-gradient(to right, #007bff 0%, #0062cc 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.btn-login i {
    font-size: 1.2em;
}

/* Messaggi di errore */
.alert-message.error-message {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
    padding: 0.8rem;
    margin-top: 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-message i {
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 768px) {
    #rappresentanti .policy-container {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }

    .login-form {
        padding: 1.5rem;
    }

    .login-form input {
        padding-left: 2.8rem;
        font-size: 0.95rem;
    }

    .input-icon {
        left: 0.8rem;
        font-size: 1rem;
    }

    .btn-login {
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #rappresentanti .policy-container {
        margin: 0.5rem;
        border-radius: 6px;
    }

    .scrollable-content {
        padding: 1rem !important;
    }

    .login-form input {
        padding: 0.8rem 0.8rem 0.8rem 2.5rem;
    }
}