@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #0057ff;
      --color-navy: #0b0f19;
      --color-rich-gold: #f5b942;
      --color-light-gray: #f5f6fa;
      --color-text-gray: #d0d0d0;
      --color-white: #ffffff;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--color-light-gray);
    color: #333;
}

header {
    display: flex;
}


.sidebar {
    height: 100vh;
    background-color: var(--color-white);
    border-right: 1px solid #e0e0e0;
    padding-top: 2rem;
    position: relative;
    left: 0;
}

.sidebar a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 10px;
}

.sidebar a:hover,
.sidebar a.active {
    background-color: var(--color-primary);
    color: white;
    border-radius: 0.5rem;
}

.main_content {
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    /* height: 100vh; */
}

 .card-summary {
    background: var(--color-white);
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.card-summary:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 1.8rem;
    color: var(--color-primary);
}

.transaction-section-history {
  margin-top: 2rem;
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
  overflow-x: auto;
}

.transaction-section-history table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.75rem;
}

.transaction-section-history thead th {
    background-color: #f5f5f5;
    color: #333;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem 0.5rem 0 0;
}

.transaction-section-history tbody tr {
    background-color: #fff;
    transition: box-shadow 0.2s ease;
    border-radius: 0.5rem;
}

.transaction-section-history tbody tr:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.transaction-section-history tbody td {
    padding: 1rem;
    border-top: 1px solid #f0f0f0;
    vertical-align: middle;
    color: #444;
}

.transaction-section-history tbody tr td:first-child {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.transaction-section-history tbody tr td:last-child {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.status-badge {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    text-transform: capitalize;
    display: inline-block;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}
.status-approved {
    background-color: #d4edda;
    color: #155724;
}
.status-rejected, .status-declined {
    background-color: #f8d7da;
    color: #721c24;
}
@media (max-width: 768px) {
    .sidebar {
         width: 240px;
        background-color: #fff;
        border-right: 1px solid #eaeaea;
        height: 100vh;
        position: fixed;
        top: 0;
        left: -240px;
        z-index: 1040;
        transition: all 0.3s ease;
    }

    .sidebar.show-sidebar {
        left: 0;
    }

    header {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 10;
        width: 100%;
    }

    .main {
        margin: 5rem 0 2rem 0;
    }

}