﻿

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

/* Base Button Style */
/*.btn-primary,
.btn.btn-primary,
button,
input[type=submit],
input[type=button] {
    background-color: #91d300 !important;*/ /* Button color */
/*border-color: #91d300 !important;
    color: #000000 !important;*/ /* Black text */
/*border-radius: 8px !important;*/ /* Rounded rectangle */
/*padding: 8px 18px !important;
    font-weight: 600 !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.28) !important;
    transition: all 0.15s ease-in-out;
}*/

/* Hover State */
/*.btn-primary:hover,
    .btn.btn-primary:hover,
    button:hover,
    input[type=submit]:hover,
    input[type=button]:hover {
        background-color: #86c100 !important;*/ /* Slightly darker green */
/*border-color: #86c100 !important;
        color: #000000 !important;
        filter: brightness(1.03);
    }*/

/* Active (pressed) State */
/*.btn-primary:active,
    .btn.btn-primary:active,
    button:active,
    input[type=submit]:active,
    input[type=button]:active {
        background-color: #78ac00 !important;*/ /* More contrast */
/*border-color: #78ac00 !important;
        color: #000000 !important;
        box-shadow: 0 3px 10px rgba(0,0,0,0.30) inset !important;*/ /* Pressed-in feel */
/*}*/

/* Focus (keyboard navigation, accessibility) */
/*.btn-primary:focus,
    .btn.btn-primary:focus,
    button:focus,
    input[type=submit]:focus,
    input[type=button]:focus {
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(145, 211, 0, 0.45) !important,*/ /* Glow ring */
/*0 6px 18px rgba(0,0,0,0.28) !important;*/ /* Keep original shadow */
/*}*/


/* make `.btn-primary` match uv-btn (if you want site-wide) */
.btn-primary {

    border-radius: 999px !important;
    background: linear-gradient(180deg, #9fe000 0%, #7fb700 100%) !important;
    color: #fff !important;
    padding: 10px 22px !important;
    box-shadow: 0 8px 22px rgba(31,129,0,0.08) !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}


.navbar-inverse {
    background-color: #d4142c !important;
}

#page-content-wrapper {
    margin-left: 300px; /* keep your sidebar offset */
    padding: 20px 24px; /* small inner padding */
    height: auto;
    background: #d9e2e9; /* new green background that fills the area */
    white-space: normal;
}


.learning-card-wrapper {
    background: transparent; /* no extra white around green (green comes from page-content-wrapper) */
    padding: 30px 0; /* vertical spacing only */
    display: flex;
    justify-content: center;
}

.learning-card h1 {
    color: #00525f;
    text-align: center;
}

.learning-card .form-control {
    width: 75%;
    align-content: center;
    justify-content: center;
}


/* Card stays centered and NOT full-width */
.learning-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 15px 50px;
    width: 75%; /* card width relative to page-content area */
    max-width: 900px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    margin: 0 auto;
}

/* --------- Buttons: occupy 75% of the card, split evenly --------- */
.learning-card-buttons {
    width: 75%; /* the row occupies 75% of the card width */
    margin: 1.5rem auto 0; /* center the row inside the card */
    display: flex;
    gap: 14px;
}

    /* Make the two buttons split the 75% evenly */
    .learning-card-buttons .btn {
        flex: 1 1 0; 
        min-width: 120px; 
        width: auto !important; 
    }


.btn-primary {
    background: #91d300 !important;
    border: none !important;
    color: #000 !important;
    font-weight: 600 !important;
    padding: 10px 22px !important;
    border-radius: 30px !important;
    transition: 0.12s ease-in-out;
}

.btn-outline-primary {
    background: #fff !important;
    color: #333 !important;
    border-radius: 30px !important;
    border: 1px solid #cfcfcf !important;
    padding: 10px 22px !important;
}

/* === Search Bar Outer Pill === */
.search-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #91d300;
    border-radius: 40px;
    padding: 4px 4px 4px 14px;
   /* width: 360px;*/
    position: relative;
}

   
    .search-wrapper input {
        border: none !important;
        outline: none !important;
        background: transparent !important;
        padding: 8px 40px 8px 6px !important; /* space for X */
        flex-grow: 1;
        font-size: 0.95rem;
    }


.search-clear-btn {
    position: absolute;
    right: 90px; 
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer !important;
    font-size: 16px;
    font-weight: bold;
    color: #5f5f5f;
    background: transparent;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: none; 
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

    .search-clear-btn:hover {
        background: rgba(145, 211, 0, 0.15);
        box-shadow: 0 0 6px rgba(145, 211, 0, 0.45);
        transform: translateY(-50%) scale(1.07);
    }

/* Search button stays on right */
.search-wrapper button {
    border: none !important;
    background: #91d300 !important;
    color: #000 !important;
    padding: 4px 18px !important;
    border-radius: 30px !important;
    font-weight: 600;
    margin-left: 10px;
    transition: 0.2s;
}

    .search-wrapper button:hover {
        background: #86c100 !important;
    }

    .search-wrapper button {
    border: none !important;
    background: #91d300 !important;
    color: #000 !important;
    padding: 10px 22px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18) !important;
}

/* Card header with local image (developer path provided) */
.users-card .card-header {
    background-image: url('/mnt/data/45507a29-9936-4849-8ceb-98d9bd9df3b5.png');
    background-size: cover;
    background-position: center;
    padding: 6px 6px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

    /* Centered title style using Kumbh Sans (fallbacks included) */
    .users-card .card-header h3 {
        margin: 0;
        font-family: "Kumbh Sans", "Segoe UI", Roboto, Arial, sans-serif;
        font-size: 26px;
        font-weight: 700;
        color: #00525f;
        text-align: center; /* center align the heading */
        letter-spacing: 0.6px;
        padding: 6px 0;
    }

/* Table + scrollable body wrapper */
.table-scroll {
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: auto;
    display: block;
}

/* Use fixed table layout to keep columns aligned */
.users-card table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* Make thead sticky (header stays visible) */
.users-card thead {
    position: sticky;
    top: 0;
    z-index: 5;
}

    /* Uniform presentation for all thead cells */
    .users-card thead th {
        background: #d7fbe4; /* uniform green header background */
        color: #1f4f4f; /* uniform header text color */
        font-family: "Kumbh Sans", "Segoe UI", Roboto, Arial, sans-serif;
        font-weight: 700; /* uniform boldness */
        font-size: 14px;
        padding: 14px 14px;
        text-align: left;
        border-bottom: 1px solid rgba(0,0,0,0.04);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        /* Optional: reduce weight if you want slightly lighter look */
        .users-card thead th.small {
            font-weight: 600;
        }

/* Body cell style */
.users-card tbody td {
    padding: 12px 12px;
    font-size: 14px;
    color: #2e3a3a;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

    /* Keep actions column flexible */
    .users-card tbody td.actions {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* Thin, modern scrollbar (webkit) */
.table-scroll::-webkit-scrollbar {
    width: 10px;
}

.table-scroll::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.08);
    border-radius: 8px;
}

.table-scroll::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.02);
}

/* Ensure header + search/create row alignment */
.header-actions {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
}

/* Create button (keeps your pill look) */
.btn-create {
    border-radius: 40px;
    background: linear-gradient(180deg, #9fe000 0%, #7fb700 100%);
    color: #000;
    padding: 10px 22px;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(31,129,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
    text-decoration: none;
}

/* Responsive: hide less-important columns on narrow screens */
@media (max-width: 900px) {
    .users-card thead th:nth-child(4), /* integrator email */
    .users-card tbody td:nth-child(4) {
        display: none;
    }
}

/* Enable both horizontal and vertical scroll */
.table-scroll {
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: auto; /* <-- horizontal scrolling enabled */
    display: block;
    white-space: nowrap; 
}

/* Ensure table layout stays aligned */
.users-card table {
    width: max-content; /* expands table beyond container if needed */
    min-width: 100%; /* prevents shrinking */
    border-collapse: collapse;
    table-layout: auto; /* allows dynamic widths so scroll works */
}


/* Base tab appearance */
.users-card .nav-tabs .nav-link {
    color: #00525f;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    padding: 8px 16px;
    margin-right: 6px;
    font-family: "Kumbh Sans", Arial, sans-serif;
}

    /* Hover */
    .users-card .nav-tabs .nav-link:hover {
        color: #003f3b;
    }

    /* Active tab gradient */
    .users-card .nav-tabs .nav-link.active {
        color: #fff !important;
        background: linear-gradient(180deg, #00a598 0%, #a5e5bb 100%);
        border-color: rgba(0,0,0,0.05);
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }


.users-card .tab-content {
    background: #ffffff;
    padding: 22px;
    border-radius: 0 10px 10px 10px;
    border: 1px solid rgba(0,0,0,0.06);
    font-family: "Kumbh Sans", Arial, sans-serif;
}


.users-card h2,
.users-card h3,
.users-card h4 {
    color: #00525f;
    font-family: "Kumbh Sans", "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 700;
}

/* De-Link table title spacing */
.users-card h4 {
    margin-bottom: 16px;
}

.users-card .table-responsive {
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid rgba(0,0,0,0.04);
}

/* Table headers inside unlink tab */
.users-card .table-bordered thead th {
    background: #d7fbe4;
    color: #1f4f4f;
    font-family: "Kumbh Sans";
    font-weight: 700;
    padding: 12px 16px;
    white-space: nowrap;
}

/* table cell style */
.users-card .table-bordered tbody td {
    padding: 14px 16px;
    font-size: 14px;
}


.users-card .btn-danger.btn-sm {
    border-radius: 30px;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 13px;
}

