@font-face {
    font-family: 'Proxima Nova';
    src: url('/static/font/Proxima-Nova-Regular.woff2') format('woff2'),
         url('/static/font/Proxima-Nova-Regular.woff') format('woff'),
         url('/static/font/Proxima-Nova-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('/static/font/Proxima-Nova-Bold.woff2') format('woff2'),
         url('/static/font/Proxima-Nova-Bold.woff') format('woff'),
         url('/static/font/Proxima-Nova-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.expiring-soon {
    background-color: #fff3cd !important; /* Light yellow for warning */
}
.expired {
    background-color: #f8d7da !important; /* Light red for expired */
}


/* Override bootstrap striping for colored rows */
.table-striped tbody tr.expiring-soon,
.table-striped tbody tr.expired {
    background-color: inherit;
}

.sort-icon {
    cursor: pointer;
    margin-left: 5px;
    color: #ccc;
}
.active-sort {
    color: #ab0534;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
}

.sort-menu {
    position: absolute;
    display: none;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px;
    border-radius: 4px;
}

.sort-menu button {
    display: block;
    width: 100%;
    margin-bottom: 5px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.dropdown-item {
    display: block;
    color: #ffffff;
    padding: 10px 20px; /* Adjusted padding */
    text-decoration: none;
    text-align: center;
}

.dropdown-item-user-menu {
    display: block;
    color: #ffffff;
    padding: 10px 20px; /* Adjusted padding */
    text-decoration: none;
    text-align: center;
}

.dropdown-item-user-menu:hover {
    color: #ab0534; /* Change to your preferred hover color */
}

.dropdown-item-welcome {
    /* color: white; */
    color: rgb(255, 255, 255);
}

.top-nav {
    width: 100%;
    /* background-color: #f8f9fa; */
    background-color: #1f2022 !important;
    border: 2px solid #1f2022 !important; /* Border */
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
.top-nav .navbar-brand {
    display: flex;
    align-items: center;
    color: white;
}

.navbar-brand {
    width: 100%;
    text-align: center;
    padding: 1rem;
}
.top-nav .navbar-brand img {
    height: 40px;
}
.top-nav .navbar-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.top-nav .navbar-nav .nav-item {
    margin-left: 10px;
}

.vertical-nav {
    width: 250px; /* Define the width of the sidebar */
    height: 100vh; /* Full height */
    overflow-y: auto;
    background-color: #2e2e2e;
    z-index: 1000;
    border-right: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    position: fixed;
    overflow-y: auto; /* Only vertical scroll */
    overflow-x: hidden; /* Hide horizontal scroll */
}

.d-flex .btn {
    margin-right: 10px; /* Adjust spacing as needed */
}

.nav-item {
    flex: 1; /* Ensures each tab takes up equal space */
}

.vertical-nav img#logo {
    max-width: 100%;
    height: auto;
}

.vertical-nav .nav-link {
    display: block;
    color: #ffffff;
    padding: 10px 20px; /* Adjusted padding */
    text-decoration: none;
    width: 100%;
    text-align: left;
}



.vertical-nav .mt-auto {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.vertical-nav .welcome-section {
    width: 100%;
    margin: 60px 0; /* Add margin here */
}

.vertical-nav .dropdown-menu {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    box-shadow: none;
    border: none;
    background-color: #1f2022;
}

.top-nav {
    border: 2px solid #ddd; /* Add a border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a shadow */
    background-color: #f8f9fa; /* Ensure the background color is light */
}

.nav-link {
    border: 1px solid transparent; /* Default border for tabs */
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    margin-bottom: -1px; /* Removes bottom margin to align with content */
}

.nav-link:hover {
    background-color: #aa0a2f;
}


.secondary-nav {
    display: none;
    position: relative;
    background-color: #333;
    border-top: 1px solid #ddd;
    z-index: 1050; /* Ensure it overlays the content */
    width: 100%; /* Full width for the submenu */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-item:hover .secondary-nav {
    display: block;
}

.secondary-nav .nav-link {
    padding: 10px 15px;
    color: #ffffff;
    text-decoration: none;
    display: block;
    width: 100%; /* Full width for submenu links */
}

.secondary-nav .nav-link:hover {
    background-color: #aa0a2f;
}

.table-responsive {
    max-height: 500px; /* Maximum height for the table */
    overflow-y: auto;  /* Enable vertical scrolling */
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9; /* Add light striping for readability */
}

.table-hover tbody tr:hover {
    background-color: #f1f1f1; /* Change background color on hover */
    cursor: pointer; /* Change cursor style on hover */
}

.nav-tabs {
    border-bottom: 1px solid #ddd; /* Ensures tabs have a bottom border */
    display: flex; /* Ensure horizontal display */
    flex-wrap: nowrap; /* Prevents wrapping to the next line */
    overflow-x: hidden; /* Allows scrolling if tabs overflow */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.nav-tabs .nav-item {
    margin-bottom: -1px;
}

.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: 0;
    color: #555;
    background-color: #f8f9fa;
    margin-right: 2px;
}

.nav-tabs .nav-link:hover {
    border-color: #e0e0e0 #e0e0e0 #ddd;
    background-color: #e9ecef;
}

.nav-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #ddd #ddd #fff;
    border-bottom-color: transparent;
}



.vertical-nav a.nav-item.nav-link {
    display: block;
    color: #000;
    padding: 10px 10px 10px 30px; /* Increased left padding */
    text-decoration: none;
}


.main-content-wrapper {
    flex-grow: 1;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
    margin-left: 250px; /* Matches the width of the sidebar */
}

.main-content {
    padding: 20px;
    flex: 1;
}
.footer {
    text-align: center;
    padding: 10px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
}

.form-row {
    margin-left: 0;
    margin-right: 0;
}

.form-row .form-group {
    padding-left: 0;
    padding-right: 0;
}

.card-text {
    margin-bottom: 0.75rem;
}

.scrollable-content {
    width: 100%;
    overflow-y: auto;
}

/* notification.css */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    color: black;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 3px 10px #000000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification.success {
    background-color: #28a745;
}

.notification.error {
    background-color: #aa0a2f;
}

.notification.info {
    background-color: #17a2b8;
}

.notification.warning {
    background-color: #ffc107;
    color: black;
}

.btn-primary {
    background-color: #ab0534 !important; /* Change this to your desired background color */
    border-color: #ab0534 !important; /* Change this to your desired border color */
    color: white !important; /* Change this to your desired text color */
}

body {
    /* f4f6fc; */ 
    /* background: #ffffff;
    /* font-family: 'Inter', sans-serif; */
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12' viewBox='0 0 20 12'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='charlie-brown' fill='%23918e95' fill-opacity='0.09'%3E%3Cpath d='M9.8 12L0 2.2V.8l10 10 10-10v1.4L10.2 12h-.4zm-4 0L0 6.2V4.8L7.2 12H5.8zm8.4 0L20 6.2V4.8L12.8 12h1.4zM9.8 0l.2.2.2-.2h-.4zm-4 0L10 4.2 14.2 0h-1.4L10 2.8 7.2 0H5.8z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");

    font-family: 'Proxima Nova', Verdana, Arial, sans-serif;
    color: #333;
}

.card-custom {
    background: #fff;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* Added shadow */
}

.card-header {
    border-bottom: none;
    font-weight: bold;
    font-size: 1.25rem;
}

.card-body {
    padding: 2rem;
    background: #fff;
}

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow */
}


.btn-primary:hover {
    /* background-color: #3b5bdb; */
    /* border-color: #3b5bdb; */
    background-color: #ab0534a1 !important; /* Change this to your desired background color */
    border-color: #ab0534a1 !important; /* Change this to your desired border color */
    color: white !important; /* Change this to your desired text color */
}

.btn-info {
    background-color: #339af0;
    border-color: #339af0;
}

.btn-info:hover {
    background-color: #228be6;
    border-color: #228be6;
}

.text-white {
    color: #fff !important;
}

.text-black {
    color: #000000;
}

.mt-5 {
    color: #000000;
    margin-top: 3rem !important;
}

.table-hover tbody tr:hover {
    background-color: #f1f1f1; /* Change background color */
    color: #333; /* Change text color */
    cursor: pointer; /* Change cursor style */
}

.sort-icon {
    cursor: pointer;
}

.sort-icon.active-sort {
    color: #aa0a2f;
}

.fa-sort-up,
.fa-sort-down {
    margin-left: 5px;
}

h1, h2 {
    color: #000000;
}

/* CSS for bold title */
.bold-title {
    font-weight: bold;
    font-size: 24px; /* Adjust the size as needed */
}

.list-group-item {
    border: none;
    padding: 1rem 1.5rem;
}

.shadow-sm {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* Increased shadow */
}

.mb-3, .mb-4, .mb-5 {
    margin-bottom: 1.5rem !important;
}

.mb-0 {
    color: white;
}

.table {
    margin: 0;
}

.fa-sort-up,
.fa-sort-down {
    margin-left: 5px;
}

.card-title {
    color:#000
}

.card-no-border {
    border: none;
}

.half-width-card {
    width: 100%;
}

.progress-bar-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-percentage {
    margin-left: 10px;
    color: #000;
    font-weight: bold;
}

.progress-bar-100 {
    background-color: #28a745 !important; /* Bootstrap's success color */
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}
  
.badge-success {
    color: #121913;
    background-color: #77db89;
}

.badge-warning {
    color: #121913;
    background-color: #ffbd21;
}

.drag-drop-area {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    cursor: pointer;
}
.drag-drop-area.dragover {
    background-color: #e9ecef;
    border-color: #ab0534;
}

/* Date status styles */
.date-expired {
    color: #dc3545 !important;  /* Red */
    font-weight: bold !important;
}

.date-expiring-soon {
    color: #fd7e14 !important;  /* Orange */
    font-weight: bold !important;
}

.date-status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.date-status-indicator.expired {
    background-color: #dc3545 !important;
}

.date-status-indicator.expiring-soon {
    background-color: #fd7e14 !important;
}

/* Add these styles to ensure proper text color inheritance */
.card-text span {
    transition: all 0.3s ease;
}

.card-text .date-expired,
.card-text .date-expiring-soon {
    font-weight: bold;
}

/* Override any potential text color inheritance */
.table-striped tbody tr .date-expired,
.table-hover tbody tr .date-expired {
    color: #dc3545 !important;
}

.table-striped tbody tr .date-expiring-soon,
.table-hover tbody tr .date-expiring-soon {
    color: #fd7e14 !important;
}
