@font-face {
    font-family: 'DM Sans';
    src: url('./assets/DM_Sans/DMSans-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 1000;
    font-style: normal;
}

@font-face {
    font-family: 'DM Sans';
    src: url('./assets/DM_Sans/DMSans-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 1000;
    font-style: italic;
}

* {
    font-family: 'DM Sans', sans-serif;
    box-sizing: border-box;
}

.container {
    display: flex;
    flex-direction: row;
    align-items: center;
    width:100%;
    
}
body{
    background-color: rgb(243, 243, 243);
}
.icon{
    filter: invert(1);
    width: 1.6em;
    height: 1.6em;
    object-fit: contain;
}
aside{
    background-color: #1f3a5f;
    color: white;
    min-height: 100vh;
    position: fixed;
    width: 20%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}
ul, ol {
    list-style-type: none;
}

nav ul li a {
    display: flex;
    gap: 24px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding: 2px 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    width: 100%;
}

nav ul li a:hover {
    background-color: #3a5a7f;
}
ul, nav{
    margin:0;
    padding: 0;
}
nav{
    padding: 24px 12px;
    flex: 1;
    width: 100%;
}
nav ul li a p {
    font-size: 18px;
    font-weight: 400;
}
h1{
    font-size: 36px;
    font-weight: bold;
    margin-left: auto;
    margin-right: 36px;
}
main{
    padding:  0 2em;
    margin-left: 20%;
    width: 80%;
    min-height: 100vh;
    padding-bottom: 100px;
}
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.notification-icon{
    filter: invert(0);
    width: 18px;
}
h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}
header div p {
    margin-top: 6px;
}

.cards {
    display: flex;
    gap: 16px;
    margin: 0;
    background-color: white;
    padding: 12px;
}

.card {
    flex: 1;
    background-color: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 8px;
    text-align: center;
    border: solid 1px grey;
}

.card h3 {
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #1f3a5f;
    margin-bottom: 24px;
    
    
}

.card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}
.summary{
    margin: 0;
    margin-left: 14px;
    font-size: 20px;
    
}
.card-container {
    background-color: white;
    padding-top: 12px;
}

main > div {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.active-requests-section {
    flex: 3;
}

.primary-action-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
    background-color: white;
}



th {
    background-color: #f8f9fa;
    color: #1f3a5f;
    font-weight: 600;
    padding: 16px 12px;
    text-align: left;
    font-size: 14px;
    border-bottom: 2px solid #e9ecef;
}

tbody tr {
    background-color: white;
}

tbody tr:first-child td:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

tbody tr:first-child td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

tbody tr td:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

tbody tr td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

td {
    padding: 16px 12px;
    font-size: 14px;
    border-bottom: 1px solid #e9ecef;
}

tbody tr:last-child td {
    border-bottom: none;
}
tbody{
    background-color: white;
}

tbody tr:hover {
    background-color: #f8f9fa;
}

.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
    text-align: center;
}

.status.pending {
    background-color: #f9f6b5;
    color: black;
}

.status.approved {
    background-color: #d1ffd4;
    color: black;
}

.status.rejected {
    background-color: #f5c1c6;
    color: black;
}

.primary-action{
    background-color: white;
    flex: 1;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    padding: 24px;
}