

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--primary-green);
}

html {
  position: relative;
  min-height: 100%;
}

body {
/*  margin-bottom: 60px;*/
  height:100%;
 
}

.btn-primary {
    background-color: #06A40C;
}
    .btn-primary:hover {
        background-color: #06A40C
    }

/* site.css - Additional site-wide styles for PasscardDemo */

/* Global styles to complement navbar.css */


html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--dark-gray);
    background-color: var(--light-gray);
}

/* Page headers */
.page-header {
    border-left: 5px solid var(--primary-green);
    padding-left: 15px;
    margin-bottom: 30px;
}

    .page-header h1, .page-header h2 {
        font-weight: 600;
        color: var(--primary-black);
    }

    .page-header p {
        color: var(--medium-gray);
        margin-top: 5px;
    }

/* Cards and panels */
.card {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: none;
}

.card-header {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 15px 20px;
    font-weight: 500;
    border-bottom: 2px solid var(--primary-green);
}

.card-body {
    padding: 20px;
}

/* Custom accent borders */
.border-accent {
    border-left: 4px solid var(--primary-green);
    padding-left: 15px;
}

.border-accent-top {
    border-top: 3px solid var(--primary-green);
}

/* Stats boxes */
.stats-box {
    background-color: var(--primary-white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

    .stats-box::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background-color: var(--primary-green);
    }

    .stats-box h3 {
        font-size: 1.2rem;
        font-weight: 500;
        margin-bottom: 15px;
        color: var(--dark-gray);
    }

    .stats-box .number {
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary-black);
        margin-bottom: 0;
    }

    .stats-box .icon {
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 2.5rem;
        opacity: 0.1;
        color: var(--primary-black);
    }

/* *********************data Tables *****************/
/*.table {
    margin-bottom: 0;
}

    .table thead th {
        background-color: var(--primary-green);
        color: var(--primary-white);
        font-weight: 500;
        border-bottom: 2px solid var(--primary-green);
        padding: 12px 15px;
    }

    .table tbody tr:hover {
        background-color: rgba(255, 204, 0, 0.05);
    }

    .table td {
        padding: 12px 15px;
        vertical-align: middle;
    }*/

/* Action buttons in tables */
.btn-action {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    background-color: var(--primary-green);
    margin-right: 5px;
    transition: all 0.2s ease;
}

    .btn-action:hover {
        background-color: var(--primary-green);
        color: var(--primary-black);
        transform: translateY(-2px);
    }

/* Form styling */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.form-control, .form-select {
    border-radius: 6px;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    transition: all 0.2s ease;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary-green);
        box-shadow: 0 0 0 0.2rem rgba(255, 204, 0, 0.25);
    }

/* Badges */
.badge {
    padding: 6px 10px;
    font-weight: 500;
    border-radius: 6px;
}

.badge-primary {
    background-color: var(--primary-green);
    color: var(--primary-black);
}

.badge-secondary {
    background-color: var(--primary-black);
    color: var(--primary-white);
}

/* Custom alerts */
.alert {
    border-radius: 8px;
    padding: 15px 20px;
    border: none;
    margin-bottom: 20px;
}

.alert-primary {
    background-color: rgba(255, 204, 0, 0.15);
    color: var(--dark-green);
    border-left: 4px solid var(--primary-green);
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.15);
    border-left: 4px solid #28a745;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.15);
    border-left: 4px solid #dc3545;
}

/* Progress bars */
.progress {
    height: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: #e9ecef;
}

.progress-bar {
    background-color: var(--primary-green);
}

/* Tabs */
.nav-tabs {
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 20px;
}

    .nav-tabs .nav-link {
        border: none;
        color: var(--dark-gray);
        padding: 10px 20px;
        font-weight: 500;
        position: relative;
    }

        .nav-tabs .nav-link:hover {
            color: var(--primary-black);
        }

        .nav-tabs .nav-link.active {
            color: var(--primary-black);
            background-color: transparent;
            font-weight: 600;
        }

            .nav-tabs .nav-link.active::after {
                content: '';
                position: absolute;
                bottom: -2px;
                left: 0;
                width: 100%;
                height: 3px;
                background-color: var(--primary-green);
            }

/* Responsive utilities */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    .stats-box .number {
        font-size: 1.5rem;
    }

    .page-header {
        margin-bottom: 20px;
    }
}


a {
    text-decoration: none;
    color: #39b807;
}

.form-floating > label {
    position: absolute;
    top: -14px !important;
    left: 0;
    height: 100%;
    padding: 1rem .75rem;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
}


.spinner {
    border: 8px solid #f3f3f3; 
    border-top: 8px solid #06A40C; 
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}