﻿/* Betika Employee Portal - Complete Theme */
/* Save as: CustomCss/kirui.css */

/* ==================== LOGIN/RESET PAGES ==================== */
body.login-body {
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    position: relative;
    font-family: 'Segoe UI', sans-serif;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

body.login-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(253, 185, 19, 0.08) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(253, 185, 19, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.login-panel,
.reset-panel {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 420px;
    padding: 30px;
    position: relative;
    z-index: 2;
}

.login-logo,
.reset-logo {
    display: block;
    margin: 0 auto 20px auto;
    width: 220px;
}

.footer {
    position: fixed;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    color: #d0d0d0;
    font-size: 13px;
    pointer-events: none;
}

    .footer a {
        color: #FDB913;
        text-decoration: none;
        pointer-events: auto;
    }

        .footer a:hover {
            text-decoration: underline;
        }

.btn-betika {
    border-radius: 4px;
    font-size: 17px;
    padding: 10px;
    background-color: #FDB913 !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
    border: none;
}

    .btn-betika:hover {
        background-color: #e5a711 !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(253, 185, 19, 0.3);
    }

.betika-link {
    color: #FDB913;
    font-weight: 600;
    text-decoration: none;
}

    .betika-link:hover {
        text-decoration: underline;
    }

/* ==================== ADMINLTE DASHBOARD THEME ==================== */

/* NAVBAR - Top bar */
.main-header .navbar {
    background-color: #FDB913 !important;
}

    .main-header .navbar .nav > li > a {
        color: #1a1a1a !important;
        font-weight: 500;
    }

        .main-header .navbar .nav > li > a:hover {
            background-color: rgba(0, 0, 0, 0.1) !important;
        }

    .main-header .navbar .sidebar-toggle {
        color: #1a1a1a !important;
    }

        .main-header .navbar .sidebar-toggle:hover {
            background-color: rgba(0, 0, 0, 0.1) !important;
        }

/* LOGO */
.main-header .logo {
    background-color: #1a1a1a !important;
    color: #FDB913 !important;
    border-right: 1px solid #FDB913;
    font-weight: 700;
}

    .main-header .logo:hover {
        background-color: #0a0a0a !important;
    }

    .main-header .logo b,
    .main-header .logo-lg b {
        color: #FDB913 !important;
    }

.main-header .logo-mini b {
    color: #FDB913 !important;
}

/* SIDEBAR */
.main-sidebar {
    background-color: #011933 !important;
}

.sidebar-menu > li.header {
    background-color: #000a1a !important;
    color: #FDB913 !important;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Sidebar menu links */
.sidebar-menu > li > a {
    color: #ffffff !important;
    transition: all 0.3s ease;
}

    .sidebar-menu > li > a:hover {
        background-color: #012952 !important;
        color: #FDB913 !important;
        border-left: 3px solid #FDB913;
        padding-left: 12px;
    }

/* Active menu item */
.sidebar-menu > li.active > a {
    background-color: #FDB913 !important;
    color: #1a1a1a !important;
    font-weight: 700;
    border-left: 4px solid #1a1a1a;
}

    .sidebar-menu > li.active > a:hover {
        background-color: #e5a711 !important;
    }

/* Treeview menus */
.sidebar-menu .treeview-menu {
    background-color: #000a1a !important;
    padding-left: 5px;
}

    .sidebar-menu .treeview-menu > li > a {
        color: #cccccc !important;
        padding-left: 20px;
    }

        .sidebar-menu .treeview-menu > li > a:hover {
            color: #FDB913 !important;
            background-color: #012952 !important;
        }

    .sidebar-menu .treeview-menu > li.active > a {
        color: #FDB913 !important;
        font-weight: 600;
        background-color: #012952 !important;
    }

/* Treeview icons */
.sidebar-menu > li > a > .pull-right-container > .fa-angle-left {
    color: #ffffff !important;
    transition: transform 0.3s ease;
}

.sidebar-menu > li.treeview.active > a > .pull-right-container > .fa-angle-left {
    transform: rotate(-90deg);
}

/* User panel in sidebar */
.user-panel {
    border-bottom: 1px solid rgba(253, 185, 19, 0.3) !important;
    padding: 10px;
}

    .user-panel > .info,
    .user-panel > .info > a {
        color: #ffffff !important;
    }

        .user-panel > .info > p {
            font-weight: 600;
            margin-bottom: 5px;
        }

    .user-panel .status {
        color: #4ade80 !important;
    }

/* FOOTER */
.main-footer {
    background-color: #FDB913 !important;
    color: #1a1a1a !important;
    border-top: 2px solid #1a1a1a;
    font-weight: 500;
}

    .main-footer a {
        color: #1a1a1a !important;
        font-weight: 700;
    }

        .main-footer a:hover {
            color: #000000 !important;
            text-decoration: underline;
        }

/* CONTENT AREA */
.content-wrapper {
    background-color: #f4f6f9 !important;
    min-height: calc(100vh - 101px);
}

.content-header {
    background-color: #ffffff;
    border-bottom: 2px solid #e0e0e0;
    padding: 15px;
    margin-bottom: 15px;
}

    .content-header > h1 {
        color: #1a1a1a;
        font-weight: 700;
    }

/* BOXES/CARDS */
.box {
    border-top: 3px solid #FDB913 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

    .box.box-primary {
        border-top-color: #FDB913 !important;
    }

.box-header {
    background-color: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
}

    .box-header > h3 {
        color: #1a1a1a;
        font-weight: 700;
    }

/* BUTTONS */
.btn-primary {
    background-color: #FDB913 !important;
    border-color: #FDB913 !important;
    color: #1a1a1a !important;
    font-weight: 600;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active {
        background-color: #e5a711 !important;
        border-color: #e5a711 !important;
        color: #1a1a1a !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(253, 185, 19, 0.3);
    }

/* DROPDOWN MENUS */
.navbar-custom-menu .dropdown-menu {
    border-top: 3px solid #FDB913;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.dropdown-menu > .user-header {
    background-color: #011933 !important;
    color: #ffffff !important;
}

    .dropdown-menu > .user-header > p {
        color: #FDB913 !important;
    }

.dropdown-menu > .user-footer {
    background-color: #f9f9f9;
}

    .dropdown-menu > .user-footer .btn-default {
        background-color: #FDB913 !important;
        color: #1a1a1a !important;
        border: none;
        font-weight: 600;
    }

        .dropdown-menu > .user-footer .btn-default:hover {
            background-color: #e5a711 !important;
        }

/* INFO BOXES / STAT CARDS */
.info-box {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.info-box-icon {
    background-color: #FDB913 !important;
    color: #1a1a1a !important;
}

.small-box {
    border-radius: 4px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

    .small-box.bg-aqua {
        background-color: #FDB913 !important;
        color: #1a1a1a !important;
    }

    .small-box.bg-yellow {
        background-color: #FDB913 !important;
        color: #1a1a1a !important;
    }

    .small-box > .small-box-footer {
        background-color: rgba(0, 0, 0, 0.1);
        color: inherit;
    }

/* DATATABLES */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #FDB913 !important;
    border-color: #FDB913 !important;
    color: #1a1a1a !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #e5a711 !important;
    border-color: #e5a711 !important;
    color: #1a1a1a !important;
}

/* SCROLLBAR */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: #000a1a;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #FDB913;
    border-radius: 3px;
}

    .sidebar::-webkit-scrollbar-thumb:hover {
        background: #e5a711;
    }

/* BREADCRUMBS */
.breadcrumb {
    background-color: transparent;
}

    .breadcrumb > li + li:before {
        color: #999;
    }

    .breadcrumb > .active {
        color: #FDB913;
        font-weight: 600;
    }

/* LAYOUT FIX - Full Width Content */
@media (min-width: 768px) {
    .content-wrapper,
    .main-footer {
        margin-left: 230px !important;
    }

    .sidebar-collapse .content-wrapper,
    .sidebar-collapse .main-footer {
        margin-left: 50px !important;
    }
}

/* RESPONSIVE */
@media (max-width: 767px) {
    .login-panel,
    .reset-panel {
        padding: 25px;
        max-width: 95%;
    }

    .login-logo,
    .reset-logo {
        width: 180px;
    }

    .content-wrapper,
    .main-footer {
        margin-left: 0 !important;
    }
}
