/* ==========================================================================
   Multi-Domain Dynamic Branding & Centered Layout for SFTPGo
   Kleodyn, US Actuator, Specialized Consulting
   ========================================================================== */

/* --- Centered Login Card Header Layout --- */
#sign_in_form .container .row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
}

#sign_in_form .container .col-5,
#sign_in_form .container .col-7 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
}

#sign_in_form .container .col-5 img,
#sign_in_form img[alt='Logo'] {
    margin: 0 auto 12px auto !important;
    display: block !important;
    max-height: 80px !important;
    width: auto !important;
}

#sign_in_form .container .col-7 h1,
#portal_heading {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    margin: 12px 0 0 0 !important;
    text-align: center !important;
    display: block !important;
    color: #111827 !important;
    letter-spacing: 0.5px !important;
}

/* Hide redundant sidebar text next to full SVG wordmarks */
.text-sidebar {
    display: none !important;
}

/* --- Kleodyn Theme (Old Money Gold & Slate) --- */
html.theme-kleodyn .btn-primary {
    background-color: #D4AF37 !important;
    border-color: #D4AF37 !important;
    color: #0A0A0A !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25) !important;
}
html.theme-kleodyn .btn-primary:hover {
    background-color: #E5C158 !important;
    border-color: #E5C158 !important;
    color: #000000 !important;
}
html.theme-kleodyn .link-primary,
html.theme-kleodyn a.text-primary,
html.theme-kleodyn .text-primary {
    color: #D4AF37 !important;
}
html.theme-kleodyn .form-control:focus {
    border-color: #D4AF37 !important;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.2) !important;
}
html.theme-kleodyn .app-sidebar .menu-link.active,
html.theme-kleodyn .app-sidebar .menu-item.here > .menu-link {
    background-color: rgba(212, 175, 55, 0.12) !important;
    color: #D4AF37 !important;
}
html.theme-kleodyn .app-sidebar .menu-link.active .menu-icon i,
html.theme-kleodyn .app-sidebar .menu-link.active .menu-title {
    color: #D4AF37 !important;
}

/* --- US Actuator Theme (Industrial Blue / Cyan) --- */
html.theme-usactuator .btn-primary {
    background-color: #2563EB !important;
    border-color: #2563EB !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
}
html.theme-usactuator .btn-primary:hover {
    background-color: #1D4ED8 !important;
    border-color: #1D4ED8 !important;
}
html.theme-usactuator .link-primary,
html.theme-usactuator a.text-primary,
html.theme-usactuator .text-primary {
    color: #38BDF8 !important;
}

/* --- Specialized Design Consulting Theme (Teal / Slate) --- */
html.theme-specialized .btn-primary {
    background-color: #06B6D4 !important;
    border-color: #06B6D4 !important;
    color: #0F172A !important;
    font-weight: 700 !important;
}
html.theme-specialized .btn-primary:hover {
    background-color: #22D3EE !important;
    border-color: #22D3EE !important;
}
html.theme-specialized .link-primary,
html.theme-specialized a.text-primary,
html.theme-specialized .text-primary {
    color: #06B6D4 !important;
}
