@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter/Inter-Regular.woff2') format('woff2'), url('/fonts/Inter/Inter-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter/Inter-Bold.woff2') format('woff2'), url('/fonts/Inter/Inter-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}
body {
    font-family: 'Inter', sans-serif !important;
}

.container{
    max-width:100%;
}


.page-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.qr-code-preview img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
}
/* Add the background pattern class here */
.bg-pattern {
    --pattern-fg: rgba(0, 0, 0, 0.1); /* Adjust the foreground color */
    background-image: repeating-linear-gradient( 315deg, var(--pattern-fg) 0, var(--pattern-fg) 1px, transparent 0, transparent 50% );
    background-size: 20px 20px; /* Adjust the size of the pattern */
}
.bg-pattern-circle {
    --pattern-fg: rgba(0, 0, 0, 0.1); /* Adjust the foreground color */
    background-image: radial-gradient(var(--pattern-fg) 1px, transparent 1px);
    background-size: 20px 20px; /* Adjust the size of the dots */
}

.group {
    position: relative;
    display: inline-block;
}

    .group span {
        position: absolute;
        inset: 0;
        border: 1px dashed;
        transition: background-color 0.3s ease;
    }

    .group:hover span {
        background-color: rgba(56, 189, 248, 0.15); /* Adjust hover background */
    }

    .group svg {
        position: absolute;
        width: 5px;
        height: 5px;
        fill: rgba(56, 189, 248, 0.8); /* Adjust SVG color */
    }

/* Default: No flex-basis for small screens */

.flex-basis-30 {
    flex-basis: auto; /* Default behavior for small screens */
}

.flex-basis-50 {
    flex-basis: auto; /* Default behavior for small screens */
}

/* Medium screens and above: Apply flex-basis */
@media (min-width: 768px) {
    .flex-basis-10 {
        flex-basis: 10%;
    }

    .flex-basis-20 {
        flex-basis: 20%;
    }

    .flex-basis-25 {
        flex-basis: 25%;
    }

    .flex-basis-30 {
        flex-basis: 30%;
    }

    .flex-basis-40 {
        flex-basis: 40%;
    }

    .flex-basis-50 {
        flex-basis: 50%;
    }

    .flex-basis-55 {
        flex-basis: 55%;
    }

    .flex-basis-60 {
        flex-basis: 60%;
    }

    .flex-basis-70 {
        flex-basis: 70%;
    }
    .flex-basis-100 {
        flex-basis: 70%;
    }
}

/* Dashboard Card Styles */
.dashboard-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color, #0d6efd);
}
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}
.status-pending { background: #fff3cd; color: #856404; }
.status-approved { background: #d1edff; color: #084298; }
.status-rejected { background: #f8d7da; color: #721c24; }
.status-submitted { background: #d4edda; color: #155724; }
.status-verified { background: #cfe2ff; color: #084298; }

/* Responsive Masonry Split for Dashboard */
@media (min-width: 992px) {
    .dashboard-split-masonry {
        display: flex;
        gap: 2rem;
        flex-wrap: wrap;
    }
    .dashboard-app-list-masonry {
        flex: 2 1 0%;
        min-width: 0;
    }
    .dashboard-app-details-masonry {
        flex: 1.5 1 0%;
        min-width: 0;
    }
    .dashboard-notifications-masonry {
        flex: 1 1 0%;
        min-width: 0;
    }
}
@media (max-width: 991.98px) {
    .dashboard-split-masonry {
        display: block;
    }
    .dashboard-app-details-masonry, .dashboard-notifications-masonry {
        margin-top: 1.5rem;
    }
}

/* Limit document preview image size for dashboard and details panels */
.document-preview {
    max-width: 250px;
    max-height: 250px;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    object-fit: contain;
    background: #f8f9fa;
}

/* Masonry-style layout for dashboard split on large screens */
@media (min-width: 1200px) {
  .dashboard-split-masonry {
    gap: 2rem;
    align-items: start;
  }
  .dashboard-app-list-masonry {
    grid-column: 1;
  }
  .dashboard-app-details-masonry {
    grid-column: 2;
  }
  .dashboard-notifications-masonry {
    grid-column: 3;
  }
}
@media (max-width: 1199.98px) {
  .dashboard-split-masonry {
    display: block;
  }
  .dashboard-app-details-masonry, .dashboard-notifications-masonry {
    margin-top: 1.5rem;
  }
}
.list-group-item.bg-light {
    background-color: #f8f9fa !important;
}

.card {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.card-body {
    padding: 1.5rem;
}

.pagination .page-link {
    color: var(--primary-color);
}
.pagination .page-item.disabled .page-link {
    color: #aaa;
    pointer-events: none;
    background: #f8f9fa;
}