/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f6f9fc 0%, #ecf0f5 100%);
    color: #111111;
    min-height: 100vh;
}

/* Main Header Styles */
.main-header {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1030;
    height: 60px;
}

.main-header .logo {
    background: #ffffff !important;
    position: relative;
    overflow: hidden;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    width: 230px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.main-header .logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Logo styles for collapsed sidebar */
.sidebar-collapse .main-header .logo {
    width: 50px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
}

.sidebar-collapse .main-header .logo img {
    display: none;
}

.sidebar-collapse .main-header .logo:after {
    content: '';
    width: 32px;
    height: 32px;
    background-image: url('../images/appliview-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}



.main-header .logo:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(242, 160, 79, 0.15), transparent);
    transition: 0.5s;
}

.main-header .logo:hover:before {
    left: 100%;
}

.main-header .logo-lg,
.main-header .logo-mini {
    color: #0984e3;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 20px;
    text-shadow: none;
}

.main-header .logo-mini {
    font-size: 16px;
}

.main-header .navbar {
    margin-left: 230px;
    min-height: 60px;
    background: transparent !important;
    border: none;
}

.sidebar-collapse .main-header .navbar {
    margin-left: 50px;
}

.main-header .sidebar-toggle {
    color: #f2a04f  !important;
    font-size: 20px;
    padding: 20px;
    transition: all 0.3s ease;
}

.main-header .sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: scale(1.1);
}

.main-header .navbar-custom-menu {
    padding-right: 15px;
}

.main-header .navbar-custom-menu .dropdown-toggle {
    color: #ffffff !important;
    font-weight: 500;
    padding: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.main-header .navbar-custom-menu .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.main-header .navbar-custom-menu .dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    padding: 8px 0;
    background: #ffffff;
}

.main-header .navbar-custom-menu .dropdown-menu li a {
    padding: 10px 20px;
    color: #2d3436;
    transition: all 0.3s ease;
}

.main-header .navbar-custom-menu .dropdown-menu li a:hover {
    background: #f8f9fa;
    color: #667eea;
}

.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

table.dataTable tbody td.select-checkbox::before,
table.dataTable tbody td.select-checkbox::after,
table.dataTable tbody th.select-checkbox::before,
table.dataTable tbody th.select-checkbox::after {
    top: 50%;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 2px solid #f4f4f4;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.select2 {
    max-width: 100%;
    width: 100%;
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left:5px;
}
.searchable-link {
    padding:0 5px 0 5px;
}
.searchable-link:hover   {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

/* Enhanced Card Stats Styles */
.card-stats {
    background: #ffffff;
    border-radius: 8px;
    position: relative;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin: 8px 0;
    height: 100px;
    width: 100%;
}

.card-stats:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-stats .card-body {
    padding: 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}

.card-stats .icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.03);
}

.card-stats .icon-wrapper i {
    font-size: 24px;
}

.card-stats .content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-stats .numbers {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-stats .card-title {
    font-size: 28px;
    font-weight: 600;
    color: #2d3436;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-stats .card-category {
    font-size: 13px;
    font-weight: 500;
    color: #8898aa;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Icon Colors with Better Contrast */
.card-stats i.text-warning {
    color: #f2a04f;
}

.card-stats i.text-success {
    color: #53b847;
}

.card-stats i.text-danger {
    color: #f2a04f;
}

.card-stats i.text-primary {
    color: #1369b9;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-stats {
        height: 90px;
    }

    .card-stats .card-body {
        padding: 16px;
        gap: 16px;
    }

    .card-stats .icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .card-stats .icon-wrapper i {
        font-size: 20px;
    }

    .card-stats .card-title {
        font-size: 24px;
    }

    .card-stats .card-category {
        font-size: 12px;
    }
}

/* Regular Cards */
.card {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-radius: 8px;
    margin-bottom: 25px;
    background: #ffffff;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
}

.card .card-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 25px 30px;
}

.card .card-header .card-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #2d3436;
    letter-spacing: -0.3px;
    position: relative;
    display: inline-block;
}

.card .card-header .card-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, currentColor, transparent);
    border-radius: 2px;
}

.card .card-body {
    padding: 25px;
}

/* Tables */
.table {
    margin-bottom: 0;
}

.table thead th {
    border-top: none;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    color: #64748b;
    padding: 20px;
    letter-spacing: 1px;
    background: #f8fafc;
}

.table tbody td {
    vertical-align: middle;
    padding: 20px;
    border-color: #f0f0f0;
    color: #2d3436;
    font-size: 14px;
    transition: all 0.2s ease;
}

.table tbody tr:hover td {
    background: #f8fafc;
}

.table-responsive {
    border-radius: 15px;
    background: #ffffff;
}

/* Badges */
.badge {
    padding: 8px 16px;
    font-weight: 600;
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

.badge-success {
    background: linear-gradient(135deg, #00b894, #00cec9);
    border: 1px solid rgba(255,255,255,0.2);
}

.badge-danger {
    background: linear-gradient(135deg, #d63031, #e17055);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Charts */
.chart-container {
    background: #ffffff;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
}

canvas {
    padding: 20px;
}

/* Color Schemes with Enhanced Gradients */
.text-warning .icon-wrapper i {
    background: linear-gradient(120deg, #fdcb6e 0%, #e17055 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-success .icon-wrapper i {
    background: linear-gradient(120deg, #00b894 0%, #00cec9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-danger .icon-wrapper i {
    background: linear-gradient(120deg, #d63031 0%, #e17055 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-primary .icon-wrapper i {
    background: linear-gradient(120deg, #0984e3 0%, #00cec9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skin-purple .sidebar-menu>li>.treeview-menu {
    margin: 0 1px;
    background: #ffffff;
}
.skin-purple .sidebar-menu>li:hover>a, .skin-purple .sidebar-menu>li.active>a, .skin-purple .sidebar-menu>li.menu-open>a {
    color: #f2a04f;
    background: #ffffff;
}

.skin-purple .sidebar-menu .treeview-menu>li.active>a, .skin-purple .sidebar-menu .treeview-menu>li>a:hover {
    color: #f2a04f;
}

.skin-purple .sidebar-menu>li.active>a {
    border-left-color: #f2a04f;
}
.skin-purple .sidebar-menu>li>a {
    color:  #333333;
    font-weight: 500;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 4px 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skin-purple .sidebar-menu>li>a:hover {
    background: rgba(242, 160, 79, 0.1);
    transform: translateX(5px);
}

.skin-purple .sidebar-menu>li.active>a {
    background: rgba(242, 160, 79, 0.15);
    color: #f2a04f;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(242, 160, 79, 0.15);
}

.skin-purple .sidebar-menu .treeview-menu {
    padding: 5px 0;
    margin: 0 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
}

.skin-purple .sidebar-menu .treeview-menu>li>a {
    color: #333333;
    padding: 10px 15px;
    font-size: 0.95em;
    border-radius: 6px;
    margin: 2px 5px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.skin-purple .sidebar-menu .treeview-menu>li>a:hover {
    color: #f2a04f;
    background: rgba(242, 160, 79, 0.08);
    transform: translateX(5px);
}

.skin-purple .sidebar-menu .treeview-menu>li.active>a {
    color: #f2a04f;
    background: rgba(242, 160, 79, 0.12);
    font-weight: 600;
}

/* Add styles for the treeview arrow */
.skin-purple .sidebar-menu>li>.treeview-menu {
    margin: 0 8px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.02);
}

.skin-purple .sidebar-menu .pull-right-container {
    transition: all 0.3s ease;
}

.skin-purple .sidebar-menu li.active>.treeview-menu {
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Enhance icon appearance */
.sidebar-menu li>a>.fa-fw, 
.sidebar-menu li>a>.fas,
.sidebar-menu li>a>.far {
    width: 25px;
    font-size: 1.1em;
    margin-right: 5px;
    text-align: center;
    transition: all 0.3s ease;
}

.sidebar-menu li>a:hover>.fa-fw,
.sidebar-menu li>a:hover>.fas,
.sidebar-menu li>a:hover>.far {
    transform: scale(1.1);
}

/* Add subtle animation for menu expansion */
.sidebar-menu .treeview-menu {
    transition: all 0.3s ease-in-out;
}


/* Responsive Design */
@media (max-width: 767px) {
    .card-stats {
        margin-bottom: 25px;
    }
    
    .card-stats .content {
        text-align: left;
        margin-top: 15px;
    }
    
    .card-stats .icon-wrapper {
        justify-content: flex-start;
    }

    .card .card-header {
        padding: 15px 20px;
    }

    .card .card-body {
        padding: 20px;
    }

    .main-header .logo {
        width: 50px;
        padding: 0 5px;
    }
    
    .main-header .navbar {
        margin-left: 50px;
    }
    
    .content-wrapper {
        margin-left: 0;
    }
}

/* Animation */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }

}

.card {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Empty State */
.text-center {
    color: #636e72;
    padding: 30px 0;
    font-style: italic;
    font-weight: 300;
}

/* Chart Customization */
.chart-container {
    position: relative;
    margin: auto;
    height: 300px;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Card Tools */
.card-tools .btn-tool {
    background: transparent;
    border: none;
    color: #636e72;
    padding: 5px;
    transition: all 0.3s ease;
}

.card-tools .btn-tool:hover {
    color: #2d3436;
    transform: scale(1.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #c8d6e5;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a5b1c2;
}

/* Content wrapper adjustments */
.content-wrapper {
    padding-top: 60px;
    min-height: calc(100vh - 60px) !important;
    background: #f8f9fa;
    transition: margin-left 0.3s ease-in-out;
}

/* Sidebar adjustments */
.main-sidebar {
    padding-top: 60px;
    position: fixed;
    height: 100vh;
    background: #ffffff !important;
    transition: all 0.3s ease-in-out;
}

.sidebar {
    padding-top: 20px;
    background: #ffffff !important;
}

/* Content wrapper adjustments */
.content-wrapper {
    padding-top: 60px;
    min-height: calc(100vh - 60px) !important;
    background: #f8f9fa;
    transition: margin-left 0.3s ease-in-out;
}

/* Logo styles for collapsed sidebar */
.sidebar-collapse .main-header .logo {
    width: 50px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-collapse .main-header .logo img {
    display: none;
    filter: drop-shadow(2px 2px 4px rgb(255, 255, 255));
}

.sidebar-collapse .main-header .logo:after {
    content: '';
    width: 32px;
    height: 32px;
    background-image: url('../images/appliview-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(2px 2px 4px rgb(255, 255, 255));
    transition: transform 0.3s ease-out;
}


/* Responsive Design */
@media (max-width: 767px) {
    .main-header .logo {
        width: 50px;
        padding: 0 5px;
    }
    
    .main-header .navbar {
        margin-left: 50px;
    }
    
    .content-wrapper {
        margin-left: 0;
    }
}

/* Sidebar Hover Functionality */
/* Delete or comment out the entire "Sidebar Hover Functionality" section */

/* Sidebar Collapse Styles */
.sidebar-collapse .main-sidebar {
    width: 50px;
}

.sidebar-collapse .sidebar-menu > li > a {
    padding: 12px 5px;
    text-align: center;
}

.sidebar-collapse .sidebar-menu > li > a > .fa-fw,
.sidebar-collapse .sidebar-menu > li > a > .fas,
.sidebar-collapse .sidebar-menu > li > a > .far {
    margin-right: 0;
    font-size: 1.2em;
    width: 20px;
    text-align: center;
    display: inline-block;
}

.sidebar-collapse .sidebar-menu .treeview-menu > li > a {
    padding: 10px 5px 10px 15px;
}

.sidebar-collapse .sidebar-menu .treeview-menu > li > a > .fa-fw,
.sidebar-collapse .sidebar-menu .treeview-menu > li > a > .fas,
.sidebar-collapse .sidebar-menu .treeview-menu > li > a > .far {
    margin-right: 0;
    width: 20px;
    text-align: center;
}

/* Adjust pull-right container for collapsed state */
.sidebar-collapse .sidebar-menu .pull-right-container {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}

/* Center icons in collapsed state */
.sidebar-collapse .sidebar-menu > li > a > span:not(.pull-right),
.sidebar-collapse .sidebar-menu > li > a > .pull-right {
    display: none !important;
}

.sidebar-collapse .sidebar-menu > li:hover > a > span {
    display: block !important;
}

/* Fix submenu positioning in collapsed state */
.sidebar-collapse .sidebar-menu > li > .treeview-menu {
    padding-left: 0;
    padding-right: 0;
}

/* Adjust icon container width in collapsed state */
.sidebar-collapse .sidebar-menu > li > a > i {
    width: 20px !important;
    margin: 0 auto;
}

/* Add hover effect for collapsed menu items */
.sidebar-collapse .sidebar-menu > li:hover > a {
    padding-left: 5px;
    padding-right: 5px;
}

/* Ensure icons are centered when collapsed */
.sidebar-collapse .sidebar-menu li > a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-collapse .sidebar-menu li > a > i {
    margin: 0;
    flex: none;
}

/* Login Page Specific Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff5e6 0%, #f8fafc 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    width: 1000px;
    height: 1000px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(242, 160, 79, 0.1) 0%, rgba(19, 105, 185, 0.1) 100%);
    top: -20%;
    right: -15%;
    z-index: 0;
}

.login-container::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(19, 105, 185, 0.1) 0%, rgba(83, 184, 71, 0.1) 100%);
    bottom: -20%;
    left: -15%;
    z-index: 0;
}

.login-box {
    width: 400px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(242, 160, 79, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}



.login-box .login-logo {
    text-align: center;
    padding: 35px 10px 5px;
    background: transparent;
    margin-bottom: 5px;
}

.login-box .login-logo-img {
    max-height: 60px;
    width: auto;
}


.login-box .login-box-body {
    padding: 20px 40px 40px;
    border-radius: 8px;
}

.login-box .login-box-msg {
    color: #62646c;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 24px;
    letter-spacing: -0.5px;
}

.login-box .form-label {
    color: #1a1f36;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
    display: block;
}

.login-box .input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    height: 48px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.login-box .input-group:focus-within {
    border-color: #f2a04f;
    box-shadow: 0 0 0 3px rgba(242, 160, 79, 0.15);
}

.login-box .input-group-addon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    color: #94a3b8;
    border-color: #ffffff;
    background: transparent;
    transition: all 0.3s ease;
    border-right: none;
}
.login-box .input-group .input-group-addon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    color: #94a3b8;
    border-color: #ffffff;
    background: transparent;
    transition: all 0.3s ease;
    border-right: none;
}

.login-box .input-group:focus-within .input-group-addon {
    color: #f2a04f;
}

.login-box .input-group-addon i {
    font-size: 18px;
}

.login-box .input-group .form-control {
    height: 100%;
    padding: 8px 15px;
    border: none;
    background: transparent;
    color: #1a1f36;
    font-size: 15px;
    font-weight: 500;
    flex: 1;
}

.login-box .input-group .form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.login-box .password-toggle {
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #94a3b8;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    padding: 0;
}

.login-box .password-toggle:hover {
    color: #f2a04f;
}

.login-box .custom-control-label {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.login-box .forgot-link {
    color: #1369b9;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.login-box .forgot-link:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: #1369b9;
    bottom: -2px;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.login-box .forgot-link:hover {
    color: #f2a04f;
}

.login-box .forgot-link:hover:after {
    transform: scaleX(1);
    background: #f2a04f;
}

.login-box .btn-primary {
    background: linear-gradient(135deg, #f2a04f 0%, #f7b778 100%);
    border: none;
    padding: 14px;
    width: 100%;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    color: #ffffff;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-box .btn-primary: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: 0.5s;
}

.login-box .btn-primary:hover {
    background: linear-gradient(135deg, #e88f37 0%, #f2a04f 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 160, 79, 0.25);
}

.login-box .btn-primary:hover:before {
    left: 100%;
}

.login-box .alert-success {
    background: rgba(83, 184, 71, 0.1);
    color: #53b847;
    border: 1px solid rgba(83, 184, 71, 0.2);
}

.login-box .alert-info {
    background: rgba(19, 105, 185, 0.1);
    color: #1369b9;
    border: 1px solid rgba(19, 105, 185, 0.2);
}

.login-box .help-block {
    color: #f2a04f;
    font-size: 13px;
    margin-top: 8px;
    font-weight: 500;
}

/* iCheck customization for login */
.login-box .icheckbox_square-blue {
    border: 2px solid #f2a04f !important;
    background: #fff !important;
    border-radius: 6px;
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.login-box .icheckbox_square-blue.checked {
    background: #f2a04f !important;
    border-color: #f2a04f !important;
}
