/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 26 Feb, 2026, 12:30:44 PM
    Author     : 230101003
*/
/* =========================================
   RESET
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================================
   BODY
========================================= */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f5f7fb;
    font-size: 14px;
    color: #444;
}

/* =========================================
   LOGIN PAGE
========================================= */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 380px;
    padding: 20px;
}

.login-card {
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    text-align: center;
}

.logo-text {
    font-weight: 600;
    font-size: 20px;
    color: #4a6cf7;
}

.logo-sub {
    font-size: 11px;
    color: #999;
    margin-bottom: 25px;
}

/* Form */
.input-group {
    text-align: left;
    margin-bottom: 18px;
}

.input-group label {
    font-size: 12px;
    margin-bottom: 5px;
    display: block;
}

.input-group input {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    transition: 0.2s;
}

.input-group input:focus {
    border-color: #4a6cf7;
    outline: none;
}

.btn-primary {
    width: 100%;
    padding: 9px;
    background: #4a6cf7;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #3a55d1;
}
.btn-danger {
    width: 100%;
    padding: 9px;
    background: #d9534f;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}
.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}
.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}
.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}

/* =========================================
   TOP NAVBAR
========================================= */
.top-navbar {
    width: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo Area */
.logo-area {
    display: flex;
    flex-direction: column;
}

.logo-area .logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #4a6cf7;
}

.logo-area .logo-sub {
    font-size: 11px;
    color: #999;
}

/* =========================================
   NAV MENU
========================================= */
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu-item {
    position: relative;
    font-size: 13px;
    cursor: pointer;
    padding: 8px 0;
    color: #555;
    transition: 0.2s;
}

.menu-item:hover {
    color: #4a6cf7;
}

.menu-item.active {
    color: #4a6cf7;
    border-bottom: 2px solid #4a6cf7;
}

.menu-item  a{
    text-decoration: none;
    position: relative;
    font-size: 13px;
    cursor: pointer;
    padding: 8px 0;
    color: #555;
    transition: 0.2s;
}

.menu-item a:hover {
    color: #4a6cf7;
}

/* =========================================
   DROPDOWN
========================================= */
.dropdown-menu {
    position: absolute;
    top: 38px;
    left: 0;
    min-width: 170px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    padding: 8px 0;
    /*display: none;*/
    /*z-index: 9999;*/
    
     opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.2s ease;

    z-index: 9999;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    text-decoration: none;
    color: #555;
}

.dropdown-menu li a:hover {
    background: #f5f7ff;
    color: #4a6cf7;
}

.menu-item.dropdown {
    display: inline-block;
}
/* Show Dropdown */
.menu-item.dropdown:hover .dropdown-menu {
    /*display: block;*/
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    
}

/* =========================================
   NAV RIGHT (Search + Profile)
========================================= */
.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 13px;
    width: 180px;
}

.profile-name {
    font-size: 13px;
    color: #444;
}

/* =========================================
   MAIN CONTENT
========================================= */
.main-content {
    padding: 30px;
}

.page-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* =========================================
   CARDS
========================================= */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.card h4 {
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
}

.card h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
}

.card p {
    font-size: 12px;
    color: #999;
}

/* =========================================
   RESPONSIVE
========================================= */

/* Tablet */
@media(max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .search-box {
        width: 120px;
    }
}

/* Mobile */
@media(max-width: 768px) {

    .top-navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav-right {
        width: 100%;
        justify-content: space-between;
    }

    .main-content {
        padding: 20px;
    }
}