/**
 * css/custom/login.css
 * Stili per login e register
 * Coerente con checkout_odoo.css
 * 
 * @package ItticiSurgelati
 * @version 1.0.0
 */

/* ============================================
   VARIABILI
   ============================================ */

/* ============================================
   SEZIONE LOGIN/REGISTER
   ============================================ */
.s-log {

    display     : flex !important;
    flex-wrap   : wrap !important;
    gap         : 40px !important;

    max-width   : 100% !important;

    margin-bottom  : 100px !important;
    padding        : 50px !important;
}

.s-log .col-left {
    flex: 0 0 auto !important;
    width: 60% !important;

}

.s-log .col-right {
    flex: 0 0 auto !important;
    width: 40% !important;

}



/* ============================================
   TITOLO
   ============================================ */
.s-log .heading {
    font-size       : 34px !important;
    font-weight     : 500 !important;
    color           : var(--odoo-text-primary) !important;
    margin-bottom   : 24px !important;
    padding-bottom  : 5px !important;
    border-bottom   : 2px solid var(--odoo-brand-accent) !important;
    display         : inline-block !important;
    letter-spacing  : -0.3px !important;
}

/* ============================================
   FORM
   ============================================ */

.list-ver {
    margin-bottom: 0px !important;
}


/* ============================================
   BOTTONE
   ============================================ */
.tf-btn.animate-btn {
    display         : inline-block !important;
    width           : 100% !important;
    padding         : 12px 20px !important;
    background      : var(--odoo-brand-accent) !important;
    color           : #fff !important;
    text-align      : center !important;
    text-decoration : none !important;
    font-size       : 20px !important;
    font-weight     : 600 !important;
    border-radius   : 28px !important;
    border          : none !important;
    cursor          : pointer !important;
    transition      : all 0.2s ease !important;
    margin-top      : 16px !important;
}

.tf-btn.animate-btn:hover {
    background: #e04e0e !important;
}

/* BOTTONE SECONDARIO */
.tf-btn.style-line {
    background: transparent !important;
    border: 1px solid var(--odoo-brand-accent) !important;
    color: var(--odoo-brand-accent) !important;
}

.tf-btn.style-line:hover {
    background: var(--odoo-brand-accent) !important;
    color: #fff !important;
}

/* ============================================
   COLONNA DESTRA
   ============================================ */
.s-log .col-right {
    text-align      : center !important;
    padding         : 40px 24px !important;
    background      : #f8f9fa !important;
    border-radius   : 0px !important;
}

.s-log .col-right .heading {
    font-size       : 30px !important;
    border-bottom   : none !important;
    margin-bottom   : 16px !important;
}

.s-log .col-right .text-sub {
    font-size       : 16px !important;
    color           : var(--odoo-text-secondary) !important;
    margin-bottom   : 24px !important;
}



/* ============================================
   MESSAGGI ERRORE / SUCCESSO
   ============================================ */
.alert {
    padding: 12px 16px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
}

.alert-danger {
    background: #f8d7da !important;
    border-left: 4px solid #dc3545 !important;
    color: #721c24 !important;
}

.alert-success {
    background: #d4edda !important;
    border-left: 4px solid #28a745 !important;
    color: #155724 !important;
}

/* ============================================
   RESPONSIVE (coerente con checkout)
   ============================================ */
@media (max-width: 991px) {
    .s-log {
        padding: 24px !important;
    }
    
    .s-log .heading {
        font-size: 28px !important;
    }
    
    .form-control {
        font-size: 20px !important;
    }
    
    .form-label {
        font-size: 16px !important;
    }
}

@media (max-width: 767px) {
    .s-log {
        flex-direction: column !important;
        gap: 30px !important;
        padding: 20px !important;
    }
    
    .s-log .heading {
        font-size: 24px !important;
    }
    
    .form-control {
        font-size: 18px !important;
    }
    
    .s-log .col-right {
        padding: 24px 16px !important;
    }
}