








/* FUNDAL DARK MODE PE BODY */
[data-bs-theme="dark"] body.app-blank {
    position: relative !important;
    min-height: 100vh !important;
}

[data-bs-theme="dark"] body.app-blank::before {
    content: '';
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://adelinx.go.ro/public/pages-wp/artistic-blurry-colorful-wallpaper-background.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    filter: blur(20px);
    z-index: -1;
}

/* FUNDAL LIGHT MODE PE BODY */
[data-bs-theme="light"] body.app-blank {
    position: relative !important;
    min-height: 100vh !important;
}

[data-bs-theme="light"] body.app-blank::before {
    content: '';
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://adelinx.go.ro/public/pages-wp/u453jrferf.jpeg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    filter: blur(20px);
    z-index: -1;
    opacity: 0.8;
}



















/* =========================================== */
/* DESIGN PREMIUM RESPONSIVE PENTRU CLOUD */
/* =========================================== */

/* CONTAINER PRINCIPAL PREMIUM */
#app_root .d-flex.flex-center.flex-column-fluid {
    padding: 40px 20px !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    animation: fadeIn 0.5s ease-out !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* CARD PREMIUM - MICȘORAT ROTUNJIREA PENTRU PREMIUM LOOK */
#app_root .w-lg-500px {
    border-radius: 52px !important;
    padding: 40px 40px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}












/* CARD GLASS EFFECT - DARK MODE */
[data-bs-theme="dark"] .app-blank .bg-body {
    background: rgba(30, 30, 40, 0.521) !important; /* Puțin mai negru, dar transparent */
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important; /* Border mai subtil */
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.25) !important;
}

/* CARD GLASS EFFECT - LIGHT MODE */
[data-bs-theme="light"] .app-blank .bg-body {
    background: rgba(255, 255, 255, 0.5) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1Px solid rgba(0, 0, 0, 0.05) !important; /* Border mai subtil */
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08) !important;
}

























/* LOGO PREMIUM */
#app_root .col-5 img[alt="Logo"] {
    height: 130px !important;
    width: auto !important;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2)) !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    border-radius: 25px !important;
    padding: 10px !important;
}





/* DESKTOP - cu right si bottom */
@media (min-width: 768px) {
    #app_root h1.text-gray-900.mb-3.ms-3 {
        font-size: 2.8rem !important;
        font-weight: 800 !important;
        letter-spacing: -1px !important;
        margin-left: 0 !important;
        bottom: -5px !important;
        right: 20px !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        position: relative !important;
    }
}

/* TELEFON - fara right si bottom */
@media (max-width: 767px) {
    #app_root h1.text-gray-900.mb-3.ms-3 {
        font-size: 2.8rem !important;
        font-weight: 800 !important;
        letter-spacing: -0.5px !important;
        margin-left: 0 !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        position: relative !important;
        right: 0 !important; /* Resetat */
        bottom: 0 !important; /* Resetat */
        text-align: center !important;
    }
}







/* DARK MODE TITLU */
[data-bs-theme="dark"] #app_root h1.text-gray-900.mb-3.ms-3 {
background: linear-gradient(135deg, 
    #e2e8f0 0%,     /* Alb-gri foarte deschis */
    #cbd5e0 50%,    /* Alb-gri deschis */
    #a0aec0 100%) !important; /* Gri-alb mediu */
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}


/* LIGHT MODE TITLU - negru cu gradient subtil de alb */
[data-bs-theme="light"] #app_root h1.text-gray-900.mb-3.ms-3 {
    background: linear-gradient(135deg, 
        #000000 0%,     /* Negru */
        #222222 50%,    /* Negru foarte închis */
        #444444 100%) !important; /* Negru mediu */
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}







/* INPUT PREMIUM */
#app_root .form-control {
    padding: 12px 20px !important;
    border-radius: 30px !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 2px solid rgba(0, 142, 224, 0.1) !important;
    background: rgba(255, 255, 255, 0.95) !important;
}

[data-bs-theme="dark"] #app_root .form-control {
    background: rgba(42, 49, 70, 0.452) !important;
    border: 2px solid rgba(0, 142, 224, 0.2) !important;
}

#app_root .form-control:focus {
    border-color: #008ee0 !important;
    box-shadow: 
        0 0 0 4px rgba(0, 142, 224, 0.15),
        0 4px 16px rgba(0, 142, 224, 0.2) !important;
    background: white !important;
}

[data-bs-theme="dark"] #app_root .form-control:focus {
    background: rgba(40, 45, 60, 0.95) !important;
}

#sign_in_submit {
    padding: 12px 28px !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    border-radius: 30px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    border: none !important;
    border-color: var(--bs-primary) !important;
    background: linear-gradient(135deg, var(--bs-primary), #0A5FC6) !important;
    color: white !important;
}

/* LINK FORGOT PASSWORD PREMIUM */
#app_root a.link-primary {
    color: #008ee0 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    position: relative !important;
    padding: 5px 0 !important;
    transition: all 0.3s ease !important;
}


#app_root a.link-primary:hover {
    color: #0047AB !important;
}

#app_root a.link-primary:hover::after {
    width: 100%;
}

/* MESAJ ERORI PREMIUM */
#errorMsg {
    border-radius: 16px !important;
    border: 2px solid rgba(255, 193, 7, 0.4) !important;
    background: linear-gradient(135deg,
        rgba(255, 193, 7, 0.15),
        rgba(255, 193, 7, 0.05)) !important;
    backdrop-filter: blur(15px) !important;
    padding: 20px !important;
    margin: 30px 0 !important;
    box-shadow: 
        0 8px 32px rgba(255, 193, 7, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* HR LINIE ELEGANTA */
#app_root hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 142, 224, 0.3), 
        transparent) !important;
}

#app_root .d-flex.fw-semibold.text-primary a:hover {
    background: rgba(51, 157, 218, 0.2) !important;
}

/* =========================================== */
/* RESPONSIVE PENTRU TELEFOANE - PREMIUM */
/* =========================================== */

/* TELEFOANE (max-width: 767px) */
@media (max-width: 767px) {
    /* CONTAINER PRINCIPAL */
    #app_root .d-flex.flex-center.flex-column-fluid {
        padding: 20px 15px !important;
    }
    
    /* CARD PREMIUM */
    #app_root .w-lg-500px {
        border-radius: 44px !important;
        padding: 40px 25px !important;
        margin: 0 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: 
            0 15px 40px rgba(0, 0, 0, 0.15),
            0 4px 12px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* TITLU "Cloud" */
    #app_root h1.text-gray-900.mb-3.ms-3 {
        font-size: 3.5rem !important;
        text-align: center !important;
        margin: 0 auto 15px auto !important;
        padding-bottom: 12px !important;
    }
    
    #app_root h1.text-gray-900.mb-3.ms-3::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 80px !important;
    }
    
    /* LOGO */
    #app_root .col-5 img[alt="Logo"] {
        height: 110px !important;
        margin: 0 auto 20px auto !important;
        display: block !important;
        padding: 8px !important;
    }
    
    /* ROW CONTAINER LOGO & TITLE */
    #app_root .container.mb-10 {
        margin-bottom: 10px !important;
    }
    
    #app_root .row.align-items-center {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    #app_root .col-5,
    #app_root .col-7 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    
    #app_root .col-5 {
        margin-bottom: 10px !important;
    }
    
    /* INPUT */
    #app_root .form-control {
        padding: 14px 18px !important;
        font-size: 16px !important;
        border-radius: 20px !important;
    }
    
    /* BUTON LOGIN */
    #sign_in_submit {
        padding: 16px 24px !important;
        font-size: 1.5rem !important;
        /* margin: 20px 0 !important; */
    }
    
    /* BUTON PAROLA */
    #app_root [data-password-control="visibility"] {
        padding: 12px !important;
        /* min-width: 50px !important;
        min-height: 50px !important; */
    }
    
    /* MESAJ ERORI */
    #errorMsg {
        padding: 18px !important;
        margin: 20px 0 !important;
        border-radius: 44px !important;
    }
    
    #app_root .me-10 {
        margin-right: 0 !important;
        margin-bottom: 10px !important;
    }
    
    /* HR */
    #app_root hr {
        margin: 30px 0 !important;
    }
    
    /* EFECT NEON BORDER - MICȘORAT */
    #app_root .w-lg-500px::after {
        border-radius: 24px !important;
        padding: 1.5px !important;
    }
}

/* TELEFOANE MIȘTO (max-width: 480px) */
@media (max-width: 480px) {
    #app_root .w-lg-500px {
        border-radius: 30px !important;
        padding: 35px 20px !important;
        margin: 0 5px !important;
    }
    
    #app_root h1.text-gray-900.mb-3.ms-3 {
        font-size: 3.5rem !important;
    }
    
    #app_root .col-5 img[alt="Logo"] {
        height: 100px !important;
    }
    
    #app_root .form-control {
        font-size: 16px !important;
        min-height: 56px !important;
    }
    
    #sign_in_submit {
        padding: 17px !important;
        font-size: 1.4rem !important;
        min-height: 56px !important;
    }
    
    /* EFECT NEON BORDER */
    #app_root .w-lg-500px::after {
        border-radius: 20px !important;
        padding: 1px !important;
    }
}


/* ORIENTARE LANDSCAPE */
@media (max-height: 600px) and (max-width: 900px) {
    #app_root .d-flex.flex-center.flex-column-fluid {
        padding: 15px !important;
        align-items: flex-start !important;
        padding-top: 20px !important;
    }
    
    #app_root .w-lg-500px {
        max-height: 90vh !important;
        overflow-y: auto !important;
        margin-top: 10px !important;
    }
    
    #app_root .col-5 img[alt="Logo"] {
        height: 70px !important;
        margin-bottom: 15px !important;
    }
    
    #app_root h1.text-gray-900.mb-3.ms-3 {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }
}

/* DISPOZITIVE CU NOTCH */
@supports (padding: max(0px)) {
    #app_root .d-flex.flex-center.flex-column-fluid {
        padding-top: max(20px, env(safe-area-inset-top)) !important;
        padding-bottom: max(20px, env(safe-area-inset-bottom)) !important;
        padding-left: max(15px, env(safe-area-inset-left)) !important;
        padding-right: max(15px, env(safe-area-inset-right)) !important;
    }
}


/* FEEDBACK TAP PENTRU MOBILE */
@media (hover: none) and (pointer: coarse) {
    #sign_in_submit:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease !important;
    }
    
    #app_root a:active {
        opacity: 0.7 !important;
    }
}

/* PERFORMANȚĂ - REDUCERE EFECTE PE DISPOZITIVE SLABE */
@media (prefers-reduced-motion: reduce) {
    #app_root * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}





/* FOOTER PENTRU PAGINA DE LOGIN - DOAR DESKTOP */
@media (min-width: 768px) {
    .app-blank .d-flex.flex-center.flex-column.flex-column-fluid.p-10.pb-lg-20 {
        position: relative !important;
        min-height: 100vh !important;
    }
    
    .app-blank .d-flex.flex-center.flex-column.flex-column-fluid.p-10.pb-lg-20::after {
        content: "© 2026 Popica Adelin. Toate drepturile rezervate.";
        
        /* Poziționare */
        position: fixed !important;
        bottom: 20px;
        left: 0;
        right: 0;
        z-index: 100;
        
        /* Text styling */
        display: block !important;
        text-align: center !important;
        color: rgba(255, 255, 255, 0.4) !important;
        font-size: 12px !important;
        padding: 10px !important;
        
        /* Fade effect */
        opacity: 0;
        animation: footerFade 0.3s ease-out 0.0s forwards !important;
        
        /* Asigură vizibilitatea */
        pointer-events: none !important;
    }
    
    /* LIGHT MODE FOOTER - DOAR DESKTOP */
    [data-bs-theme="light"] .app-blank .d-flex.flex-center.flex-column.flex-column-fluid.p-10.pb-lg-20::after {
        color: rgba(0, 0, 0, 0.4) !important;
    }
    
    @keyframes footerFade {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
}











/* =========================================== */
/* BUTOANE CU FONT AWESOME */
/* =========================================== */

@media (min-width: 992px) {
    /* SIDEBAR */
    .quick-links-sidebar {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        width: 165px !important;
        z-index: 1000 !important;
    }
    
    /* BUTOANE */
    .quick-link-btn {
        border-radius: 20px !important;
        padding: 8px 12px !important;
        margin-bottom: 8px !important;
        border-width: 1px !important;
        text-decoration: none !important;
        display: flex !important;
        align-items: center !important;
        background: white !important;
        border: 1px solid #dee2e6 !important;
        color: #495057 !important;
        font-size: 0.85rem !important;
        font-weight: 500 !important;
        transition: none !important;
    }
    
    /* DARK MODE BUTOANE */
    [data-bs-theme="dark"] .quick-link-btn {
        background: rgba(30, 30, 40, 0.9) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    /* ICONITE FONT AWESOME */
    .quick-link-icon {
        font-size: 1.2rem !important;
        width: 24px !important;
        margin-right: 8px !important;
        display: inline-block !important;
        text-align: center !important;
    }
    
    /* CULOARI ICONITE */
    .storage-status-btn .quick-link-icon {
        color: #008ee0 !important;
    }
    
    .server-status-btn .quick-link-icon {
        color: #28a745 !important;
    }
    
    [data-bs-theme="dark"] .storage-status-btn .quick-link-icon {
        color: #4facfe !important;
    }
    
    [data-bs-theme="dark"] .server-status-btn .quick-link-icon {
        color: #20c997 !important;
    }
    
    /* ASCUNDE CELALTE BUTOANE */
    .radarr-btn,
    .prowlarr-btn,
    .sonarr-btn {
        display: none !important;
    }
}

/* ASCUNDE SIDEBAR PE TELEFOANE */
@media (max-width: 991px) {
    .quick-links-sidebar {
        display: none !important;
    }
}



























/* Spinner mare și centrat - FĂRĂ a bloca conținutul */
span.spinner-border.w-15px.h-15px.text-muted.align-middle.me-2 {
    width: 50px !important;
    height: 50px !important;
    border-width: 4px !important;
    position: relative !important;
    display: inline-block !important;
}


/* Culori diferite pentru spinner în funcție de theme */
[data-bs-theme="dark"] span.spinner-border.w-15px.h-15px.text-muted.align-middle.me-2 {
    border-color: rgba(255, 255, 255, 0.3) !important;
    border-right-color: #fff !important;
}

[data-bs-themode="light"] span.spinner-border.w-15px.h-15px.text-muted.align-middle.me-2 {
    border-color: rgba(0, 0, 0, 0.2) !important;
    border-right-color: #1F87FF !important; /* Albastru pentru light mode */
}


/* Pentru a ascunde loader-ul când nu este nevoie, adaugă această clasă */
#app_loader.align-items-center.text-center.my-10.hidden {
    display: none !important;
}











#app_loader.align-items-center.text-center.my-10 {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    align-items: center !important;
    transform: translate(-50%, -50%) !important;
}


















/* Import Font Awesome CDN - adaugă acest cod în <head> */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Ascunde elementele dorite */
hr,
.d-flex.flex-stack.pt-5.mt-3 {
    display: none !important;
}

/* Păstrează containerul și link-ul original, dar îl repoziționează */
.d-flex.flex-stack.pt-5.mt-3 {
    display: block !important;
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
}

/* Ascunde selectorul de limbă și containerul acestuia */
.me-10,
#languageSwitcher,
.select2 {
    display: none !important;
}

/* Stilizează link-ul Admin */
.d-flex.fw-semibold.text-primary {
    margin: 0 !important;
    padding: 0 !important;
}

.d-flex.fw-semibold.text-primary a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background-color: #f8f9fa !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #dee2e6 !important;
    position: relative !important;
}

/* Adaugă iconița Font Awesome */
.d-flex.fw-semibold.text-primary a i {
    display: none !important; /* Ascunde iconițele existente */
}

.d-flex.fw-semibold.text-primary a::before {
    content: "\f085" !important; /* Iconița Font Awesome pentru admin/cogs */
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    color: #5e72e4 !important;
    transition: all 0.3s ease !important;
}

/* Ascunde textul "Go to Admin" */
.d-flex.fw-semibold.text-primary a span {
    display: none !important;
}

/* Efect hover - mai intens */
.d-flex.fw-semibold.text-primary a:hover {
    background-color: #5e72e4 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 15px rgba(94, 114, 228, 0.4) !important;
    border-color: #5e72e4 !important;
}

/* Mod dark theme */
[data-bs-theme="dark"] .d-flex.fw-semibold.text-primary a {
    background-color: #2b2b408e !important;
    border-color: #3a3a5d00 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

[data-bs-theme="dark"] .d-flex.fw-semibold.text-primary a::before {
    color: #a2a3b7 !important;
}

[data-bs-theme="dark"] .d-flex.fw-semibold.text-primary a:hover {
    background-color: #5e72e4 !important;
    border-color: #5e72e4 !important;
}

[data-bs-theme="dark"] .d-flex.fw-semibold.text-primary a:hover::before {
    color: white !important;
}



/* Responsive pentru dispozitive mobile (telefoane) */
@media (max-width: 767px) {
    /* Ajustări pentru întregul container */
    .w-lg-500px.w-md-450px.w-sm-400px.bg-body.rounded.shadow-sm.p-10.p-lg-15.mx-auto {
        position: relative !important;
        padding-top: 60px !important; /* Mai mult spațiu sus pentru buton */
    }
    
    /* Mută butonul în interiorul containerului principal */
    .d-flex.flex-stack.pt-5.mt-3 {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        z-index: 10 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Buton mai mare pentru touch */
    .d-flex.fw-semibold.text-primary a {
        width: 50px !important;
        height: 50px !important;
    }
    
    .d-flex.fw-semibold.text-primary a::before {
        font-size: 22px !important;
    }
}




/* Ajustări pentru containerul principal pentru a evita suprapuneri */
.w-lg-500px.w-md-450px.w-sm-400px.bg-body.rounded.shadow-sm.p-10.p-lg-15.mx-auto {
    position: relative !important;
}

















