/* Custom Dashboard Styling - Updated 2024 */
/* Beautiful gradient backgrounds for card-animate boxes */
.card.card-animate {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card.card-animate:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Apply gradients to card-animate boxes with maximum specificity */
.col-xl-3:nth-child(1) .card.card-animate,
.col-md-6:nth-child(1) .card.card-animate,
div.col-xl-3:nth-child(1) > .card.card-animate,
div.col-md-6:nth-child(1) > .card.card-animate {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.col-xl-3:nth-child(2) .card.card-animate,
.col-md-6:nth-child(2) .card.card-animate,
div.col-xl-3:nth-child(2) > .card.card-animate,
div.col-md-6:nth-child(2) > .card.card-animate {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.col-xl-3:nth-child(3) .card.card-animate,
.col-md-6:nth-child(3) .card.card-animate,
div.col-xl-3:nth-child(3) > .card.card-animate,
div.col-md-6:nth-child(3) > .card.card-animate {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
}

.col-xl-3:nth-child(4) .card.card-animate,
.col-md-6:nth-child(4) .card.card-animate,
div.col-xl-3:nth-child(4) > .card.card-animate,
div.col-md-6:nth-child(4) > .card.card-animate {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%) !important;
}

.col-xl-3:nth-child(5) .card.card-animate,
.col-md-6:nth-child(5) .card.card-animate,
div.col-xl-3:nth-child(5) > .card.card-animate,
div.col-md-6:nth-child(5) > .card.card-animate {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%) !important;
}

.col-xl-3:nth-child(6) .card.card-animate,
.col-md-6:nth-child(6) .card.card-animate,
div.col-xl-3:nth-child(6) > .card.card-animate,
div.col-md-6:nth-child(6) > .card.card-animate {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%) !important;
}

.col-xl-3:nth-child(7) .card.card-animate,
.col-md-6:nth-child(7) .card.card-animate,
div.col-xl-3:nth-child(7) > .card.card-animate,
div.col-md-6:nth-child(7) > .card.card-animate {
    background: linear-gradient(135deg, #8360c3 0%, #2ebf91 100%) !important;
}

.col-xl-3:nth-child(8) .card.card-animate,
.col-md-6:nth-child(8) .card.card-animate,
div.col-xl-3:nth-child(8) > .card.card-animate,
div.col-md-6:nth-child(8) > .card.card-animate {
    background: linear-gradient(135deg, #f093fb 0%, #4facfe 100%) !important;
}

/* Alternative approach: Apply specific gradients based on icon color */
.card.card-animate .avatar-title.bg-info-subtle {
    background: rgba(255, 255, 255, 0.2) !important;
}

.card.card-animate .avatar-title.bg-success-subtle {
    background: rgba(255, 255, 255, 0.2) !important;
}

.card.card-animate .avatar-title.bg-warning-subtle {
    background: rgba(255, 255, 255, 0.2) !important;
}

.card.card-animate .avatar-title.bg-danger-subtle {
    background: rgba(255, 255, 255, 0.2) !important;
}

.card.card-animate .avatar-title.bg-primary-subtle {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* Make icons visible */
.card.card-animate .avatar-title i {
    color: #fff !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Make text visible */
.card.card-animate .card-body {
    color: #fff;
}

.card.card-animate .card-body p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.card.card-animate .card-body h4 {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.card.card-animate .card-body a {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.card.card-animate .card-body a:hover {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Make percentage changes visible */
.card.card-animate .card-body h5.text-success {
    background: rgba(40, 167, 69, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card.card-animate .card-body h5.text-danger {
    background: rgba(220, 53, 69, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card.card-animate .card-body h5.text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Ensure flex-shrink-0 doesn't interfere */
.card.card-animate .flex-shrink-0 {
    opacity: 1;
}

/* Dark mode compatibility */
[data-theme="dark"] .card.card-animate {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .card.card-animate:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card.card-animate:hover {
        transform: translateY(-3px);
    }
}

/* ApexCharts Legend Positioning Fix - only for line/area charts */
#salesPurchasesChart .apexcharts-legend {
    top: -4px !important;
}

/* Beautiful Card Headers with Gradient Backgrounds */
.card-header {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 1rem 1.5rem !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

/* Card header title styling with beautiful gradient colors */
.card-header .card-title {
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Different gradient colors for different chart types */
.row .col-xl-8:first-child .card .card-header .card-title {
    background: linear-gradient(135deg, #5664d2 0%, #1cbb8c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.row .col-xl-4:last-child .card .card-header .card-title {
    background: linear-gradient(135deg, #f7b84b 0%, #5bd8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.row .col-xl-12 .card .card-header .card-title,
.row .col-xl-6 .card .card-header .card-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Note: Base .card styles are above for card-animate, adding specific styles for regular cards */
.card:not(.card-animate) {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 0.75rem !important;
    overflow: hidden;
}

.card:not(.card-animate):hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px);
}

/* Colorful chart cards - first chart in row */
.row .col-xl-8:first-child .card .card-header {
    background: linear-gradient(135deg, rgba(86, 100, 210, 0.08) 0%, rgba(28, 187, 140, 0.08) 100%) !important;
}

/* Second chart card */
.row .col-xl-4:last-child .card .card-header {
    background: linear-gradient(135deg, rgba(247, 184, 75, 0.08) 0%, rgba(91, 216, 255, 0.08) 100%) !important;
}

/* Full width chart cards */
.row .col-xl-12 .card .card-header,
.row .col-xl-6 .card .card-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%) !important;
}

/* Additional beautiful enhancements */
.card:not(.card-animate) .card-body {
    padding: 1.5rem !important;
}

/* Enhanced chart container styling */
#salesPurchasesChart,
#orderStatusChart,
#topProductsChart,
#monthlySalesChart {
    position: relative;
}

/* Beautiful gradient backgrounds for page topbar, footer, and app-menu */
#page-topbar {
    background: #0ab39c !important;
    border-bottom: 0 !important;
    box-shadow: 0 2px 10px rgba(10, 179, 156, 0.2) !important;
}

/* SaaS dashboard: reserve space so .main-content is not hidden under topbar */
body.saas-management #layout-wrapper .main-content {
    padding-top: 110px !important;
    margin-top: 0 !important;
    min-height: 100vh !important;
}
body.saas-management .main-content .container-fluid {
    padding-top: 1rem !important;
}
@media (max-width: 768px) {
    body.saas-management #layout-wrapper .main-content {
        padding-top: 110px !important;
    }
}

/* Topbar logo and text should be white */
#page-topbar .text-white,
#page-topbar .logo h3 {
    color: #fff !important;
}

/* Navbar header h3 styling */
.navbar-header h3 {
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    vertical-align: middle !important;
}

/* Make menu icon white on page-topbar */
#page-topbar .mdi-menu::before {
    content: "\f035c";
    color: #fff !important;
}

/* Show topnav hamburger only below 768px */
.topnav-hamburger {
    display: none !important;
}

/* Hide mobile hamburger on larger screens */
.mobile-hamburger-menu,
#mobile-hamburger-icon {
    display: none !important;
}

@media (max-width: 768px) {
    /* Show new mobile hamburger button */
    .mobile-hamburger-menu,
    #mobile-hamburger-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Style the mobile hamburger button */
    #mobile-hamburger-icon {
        color: #fff !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0.375rem !important;
        padding: 0.625rem 0.875rem !important;
        margin-right: 0.75rem !important;
        cursor: pointer !important;
        z-index: 1050 !important;
        position: relative !important;
        min-width: 44px !important;
        min-height: 44px !important;
        transition: all 0.3s ease !important;
    }
    
    #mobile-hamburger-icon:hover {
        background: transparent !important;
        border: none !important;
        opacity: 0.8 !important;
    }
    
    #mobile-hamburger-icon i,
    #mobile-hamburger-icon .mdi,
    .mobile-hamburger-menu i,
    .mobile-hamburger-menu .mdi {
        color: #fff !important;
        font-size: 1.5rem !important;
        line-height: 1 !important;
    }
    
    /* Change icon to close when sidebar is open */
    body.vertical-sidebar-enable #mobile-hamburger-icon .mdi-menu,
    body.vertical-sidebar-enable .mobile-hamburger-menu .mdi-menu {
        display: none !important;
    }
    
    body.vertical-sidebar-enable #mobile-hamburger-icon .mdi-close,
    body.vertical-sidebar-enable .mobile-hamburger-menu .mdi-close {
        display: inline-block !important;
        color: #fff !important;
        font-size: 1.5rem !important;
        line-height: 1 !important;
    }
    
    body.vertical-sidebar-enable #mobile-hamburger-icon .mdi-close::before,
    body.vertical-sidebar-enable .mobile-hamburger-menu .mdi-close::before {
        color: #fff !important;
    }
    
    /* Hide close icon when sidebar is closed - default state */
    #mobile-hamburger-icon .mdi-close,
    .mobile-hamburger-menu .mdi-close {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Show close icon when sidebar is open - override default with higher specificity */
    body.vertical-sidebar-enable #mobile-hamburger-icon .mdi-close,
    body.vertical-sidebar-enable .mobile-hamburger-menu .mdi-close,
    body.vertical-sidebar-enable #mobile-hamburger-icon i.mdi-close,
    body.vertical-sidebar-enable .mobile-hamburger-menu i.mdi-close {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 1.5rem !important;
        line-height: 1 !important;
        color: #fff !important;
    }
    
    /* Make sure close icon is properly styled */
    #mobile-hamburger-icon .mdi-close,
    .mobile-hamburger-menu .mdi-close,
    #mobile-hamburger-icon i.mdi-close,
    .mobile-hamburger-menu i.mdi-close {
        font-size: 1.5rem !important;
        line-height: 1 !important;
        color: #fff !important;
    }
    
    /* Hide the old hamburger button on mobile */
    .topnav-hamburger,
    #topnav-hamburger-icon {
        display: none !important;
    }
    
    /* Ensure navbar header shows the hamburger */
    .navbar-header .d-flex {
        align-items: center !important;
    }
    
    /* Make sure hamburger is not hidden by parent */
    .navbar-header,
    #page-topbar .navbar-header,
    #page-topbar .navbar-header .d-flex {
        position: relative !important;
    }
    
    /* Hide sidebar by default on mobile */
    .app-menu {
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease-in-out !important;
    }
    
    /* Show sidebar when vertical-sidebar-enable class is present */
    body.vertical-sidebar-enable .app-menu {
        transform: translateX(0) !important;
    }
    
    /* Ensure sidebar is positioned correctly on mobile */
    .app-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 1040 !important;
        width: 280px !important;
        max-width: 85vw !important;
    }
    
    /* Hide overlay by default */
    .vertical-overlay {
        display: none !important;
    }
    
    /* Add overlay when sidebar is open */
    body.vertical-sidebar-enable .vertical-overlay {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 1039 !important;
    }
    
    /* Adjust main content when sidebar is open */
    body.vertical-sidebar-enable .main-content {
        margin-left: 0 !important;
    }
}

/* Topbar user section styling */
.topbar-user,
.topbar-user .btn {
    background: #f7b84b !important;
    color: #fff !important;
    border: none !important;
}

/* Ensure text in topbar-user is visible */
.topbar-user .user-name-text,
.topbar-user .user-name-sub-text {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Make light-dark-mode and rounded-circle icons white */
.btn.light-dark-mode i,
.light-dark-mode i,
.btn.rounded-circle.light-dark-mode i,
#page-topbar .btn.rounded-circle i {
    color: #fff !important;
}

/* Make fullscreen button icon white as well */
.btn[data-toggle="fullscreen"] i {
    color: #fff !important;
}

/* App menu sidebar gradient */
.app-menu {
    background: #000000cf !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    flex-direction: column !important;
    height: 100vh !important;
}

/* Make logo section sticky/fixed at top */
.app-menu .navbar-brand-box {
    padding: 1rem !important;
    padding-bottom: 10px !important;
    flex-shrink: 0 !important;
}

/* Navbar brand box padding bottom */
.navbar-brand-box {
    padding-bottom: 10px !important;
}

/* Ensure sidebar user section is also sticky (below logo) */
.app-menu .sidebar-user {
    position: sticky !important;
    top: 80px !important;
    z-index: 9 !important;
    background: #000000cf !important;
    flex-shrink: 0 !important;
}

/* Make scrollbar area scrollable */
.app-menu #scrollbar {
    flex: 1 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    min-height: 0 !important;
}

/* Logo line-height: 0 when image is used, default when text is used */
.logo {
    line-height: 0 !important;
}

/* Logo-lg sizing */
.logo-lg {
    max-height: 50px !important;
    max-width: 180px !important;
    width: 100% !important;
}

/* Navbar menu nav-link color and padding */
.navbar-menu .navbar-nav .nav-link {
    color: #fff !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Nav-sm padding */
.navbar-menu .navbar-nav .nav-sm {
    padding-left: 15px !important;
}

/* Nav-sm nav-link padding */
.navbar-menu .navbar-nav .nav-sm .nav-link {
    padding: .55rem 1rem !important;
}

/* Nested nav-sm padding */
.navbar-menu .navbar-nav .nav-sm .nav-sm {
    padding-left: 0px !important;
}

/* Active main menu background - only top level menu items */
#navbar-nav > .nav-item > .nav-link.menu-link.active,
#navbar-nav > .nav-item:has(.menu-dropdown.show) > .nav-link.menu-link,
.navbar-menu .navbar-nav > .nav-item > .nav-link.menu-link.active,
.navbar-menu .navbar-nav > .nav-item:has(.menu-dropdown.show) > .nav-link.menu-link {
    background: #0ab39c !important;
}

/* When any child is active, parent top-level menu should have background */
#navbar-nav > .nav-item:has(.nav-link.active) > .nav-link.menu-link,
.navbar-menu .navbar-nav > .nav-item:has(.nav-link.active) > .nav-link.menu-link {
    background: #0ab39c !important;
}

/* Intermediate menu items (like "Account Management") should NOT have background */
.navbar-menu .navbar-nav .menu-dropdown .nav-item > .nav-link.menu-link.active {
    background: transparent !important;
}

/* Active submenu link color - applies to nested menu items (leaf nodes) */
.navbar-menu .navbar-nav .menu-dropdown .nav-link.active,
.navbar-menu .navbar-nav .menu-dropdown .menu-dropdown .nav-link.active {
    color: #00fff5 !important;
}

/* Button secondary background color */
.btn-secondary {
    background-color: #0ab39c !important;
}

/* Button primary background color */
.btn-primary {
    background-color: #0ab39c !important;
}

/* Reset line-height for text-based logos (when h3 is used instead of img) */
.logo h3 {
    line-height: 1.5 !important; /* default line-height for h3 text */
}

/* Ensure images are displayed as block to avoid extra spacing */
.logo img {
    display: block;
}

/* Modern browser support: explicitly set line-height 0 only when img exists */
.logo:has(img) {
    line-height: 0 !important;
}

/* Areas page: add margin-bottom to first div under .card-body .row */
.card-body .row > div:first-child {
    margin-bottom: 20px;
}

/* Fix modal blinking issue - stabilize modal display and transitions */
.modal {
    transition: opacity 0.15s linear !important;
    will-change: opacity !important;
    pointer-events: auto !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1055 !important;
    width: 100% !important;
    height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    outline: 0 !important;
}

.modal.show {
    display: block !important;
    visibility: visible !important;
    contain: layout style paint !important;
    backface-visibility: hidden !important;
}

.modal:not(.show) {
    display: none !important;
    visibility: hidden !important;
}

.modal.fade:not(.show) {
    opacity: 0 !important;
}

.modal.fade.show {
    opacity: 1 !important;
}

.modal-content {
    transition: none !important;
    transform: none !important;
    will-change: auto !important;
    pointer-events: auto !important;
    position: relative !important;
}

.modal-dialog {
    transition: none !important;
    transform: none !important;
    will-change: auto !important;
    position: relative !important;
    width: auto !important;
    margin: 1.75rem auto !important;
    pointer-events: none !important;
}

.modal.show .modal-dialog {
    pointer-events: auto !important;
}

.modal-backdrop {
    transition: opacity 0.15s linear !important;
    pointer-events: auto !important;
}

.modal-backdrop.show {
    opacity: 0.5 !important;
    display: block !important;
}

.modal-backdrop:not(.show) {
    opacity: 0 !important;
    display: none !important;
}

/* Prevent any hover effects on modals that might cause blinking */
.modal:hover,
.modal-content:hover,
.modal-dialog:hover,
.modal-header:hover,
.modal-body:hover,
.modal-footer:hover {
    transform: none !important;
    transition: none !important;
    opacity: inherit !important;
}

/* Force stable modal state - prevent any CSS animations on mouse move */
.modal.show .modal-content {
    animation: none !important;
    transform: none !important;
}

/* Disable any transform transitions that might cause visual glitches */
.modal.show .modal-dialog {
    animation: none !important;
    transform: translate(0, 0) !important;
    pointer-events: auto !important;
}

/* Prevent focus/cursor changes from causing modal blink */
.modal.show:focus,
.modal.show:focus-within,
.modal.show .modal-content:focus,
.modal.show .modal-content:focus-within {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Prevent horizontal scrollbar - only hide on body and main containers */
body {
    overflow-x: hidden !important;
}

#layout-wrapper {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

.main-content {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

.page-content {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

.container-fluid {
    max-width: 100% !important;
    overflow-x: hidden !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Ensure tables are responsive within their containers */
.card-body .table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important;
}

.card {
    max-width: 100% !important;
}

.card-body {
    max-width: 100% !important;
    overflow-x: auto !important;
}


/* Footer gradient */
.footer {
    background: #0ab39c !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 -2px 10px rgba(10, 179, 156, 0.2) !important;
}

/* Footer links and text */
.footer a,
.footer span {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Dark mode compatibility for topbar, sidebar, and footer */
[data-theme="dark"] #page-topbar {
    background: #0ab39c !important;
}

[data-theme="dark"] .app-menu {
    background: #000000cf !important;
}

[data-theme="dark"] .footer {
    background: #0ab39c !important;
}

/* Modern Beautiful Auth Page Styling */
.auth-page-wrapper {
    padding-top: 0 !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-one-bg {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 30%, #0ab39c 70%, #f093fb 100%) !important;
    background-size: 400% 400% !important;
    animation: gradientFlow 15s ease infinite !important;
    z-index: 0;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Remove all old styling */
.auth-one-bg::before,
.auth-one-bg .bg-overlay,
.auth-one-bg .shape {
    display: none !important;
}

/* Auth page content styling */
.auth-page-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

/* Modern beautiful card styling */
.card-bg-fill {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 100px rgba(255, 255, 255, 0.1) inset !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 1.5rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.card-bg-fill:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35), 0 0 120px rgba(255, 255, 255, 0.15) inset !important;
}

/* Beautiful title styling */
.auth-logo h1 {
    font-size: 3rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: -1px !important;
}

/* Logo image styling on auth page */
.auth-logo img {
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Subtitle styling */
.text-white-50 p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

/* Welcome text in card */
.card-bg-fill .text-primary {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #667eea 0%, #0ab39c 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 0.5rem !important;
}

/* Vibrant modern button */
.card-bg-fill .btn-success {
    background: linear-gradient(135deg, #0ab39c 0%, #667eea 100%) !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(10, 179, 156, 0.5) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0.75rem 2rem !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    border-radius: 0.75rem !important;
    position: relative;
    overflow: hidden;
}

.card-bg-fill .btn-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.card-bg-fill .btn-success:hover::before {
    left: 100%;
}

.card-bg-fill .btn-success:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 12px 35px rgba(10, 179, 156, 0.6) !important;
}

.card-bg-fill .btn-success:active {
    transform: translateY(-1px) scale(1) !important;
}

/* Enhanced input fields */
.card-bg-fill .form-control {
    border: 2px solid #e9ecef !important;
    border-radius: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
}

.card-bg-fill .form-control:focus {
    border-color: #0ab39c !important;
    box-shadow: 0 0 0 0.25rem rgba(10, 179, 156, 0.15) !important;
    transform: translateX(5px);
}

.card-bg-fill .form-label {
    font-weight: 600 !important;
    color: #495057 !important;
    margin-bottom: 0.5rem !important;
}

/* Footer styling on auth page */
.auth-page-wrapper .footer {
    position: relative !important;
    z-index: 1 !important;
    background: transparent !important;
    margin-top: auto;
}

.auth-page-wrapper .footer p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    font-weight: 500 !important;
}

.auth-page-wrapper .footer .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

/*# sourceMappingURL=custom.min.css.map */
