/* ===== Leave Request Status Badges ===== */

.status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.status.pending {
    background: #fff7ed;
    color: var(--orange);
}

.status.approved {
    background: #ecfdf5;
    color: var(--green);
}

.status.rejected {
    background: #fef2f2;
    color: var(--red);
}


/* ===== Leave Action Buttons ===== */

.btn-approve {
    display: inline-block;
    background: var(--green);
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
}

.btn-approve:hover {
    opacity: 0.9;
    text-decoration: none;
}

.btn-reject {
    display: inline-block;
    background: var(--red);
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
}

.btn-reject:hover {
    opacity: 0.9;
    text-decoration: none;
}

.btn-view {
    display: inline-block;
    background: var(--blue);
    color: #fff !important;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    text-decoration: none;
}

.btn-view:hover {
    opacity: 0.9;
    text-decoration: none;
}

/* ===== MOBILE + GLOBAL UI IMPROVEMENTS ===== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* Container */
.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 12px;
}

/* ===== NAVIGATION ===== */

.top-nav {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

/* FIXED layout */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    max-width: 1200px;
    margin: auto;
}

/* Logo */
.logo {
    font-size: 16px;
}

/* Hamburger */
.menu-toggle {
    font-size: 22px;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    color: #111;
    padding: 6px 10px;
    border-radius: 8px;
}

/* Hide hamburger on desktop */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}

/* Nav links hidden by default */
.nav-links {
    display: none;
}

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

    .nav-links {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 60px;
        right: 10px;
        width: 220px;
        border-radius: 10px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        padding: 10px;
        z-index: 999;
    }

    .nav-links a {
        padding: 10px;
        border-bottom: 1px solid #eee;
        text-decoration: none;
        color: #333;
    }

    .nav-links.show {
        display: flex;
    }

    /* Buttons full width */
    .btn,
    .btn-approve,
    .btn-reject,
    .btn-view {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }
}

/* ===== TABLE SUPPORT ===== */

.table-responsive {
    width: 100%;
    overflow-x: auto;
}