﻿/* CSS with ID*/
#chosenClassification {
    padding-right: 20px
}
/* Table layout */
.modern-gridview {
    border-collapse: separate;
    border-spacing: 16px;
    width: 60%;
    background: white;
}

/* Header row (stable, no hover) */
.modern-gridview .gridview-header th {
    background: #4297d7;
    padding: 10px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}

/* Data rows */
.modern-gridview tr {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Only hover on data rows, not header */
.modern-gridview tr:not(.gridview-header) td {
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}

/* Hover effect only on data rows */
.modern-gridview tr:not(.gridview-header):hover td {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
/* Tabs section */

.tabs {
    display: flex;
    border-bottom: 2px solid #ccc; /* full-width line for structure */
}

.tab-button {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    font-size: 16px;
}

/* Active tab styling */
.tab-button.active {
    font-weight: bold;
    color: #000;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px; /* aligns with bottom border */
    left: 0;
    width: 100%;
    height: 4px; /* thickness of active tab indicator */
    background-color: #007bff; /* color of active tab line */
    border-radius: 2px 2px 0 0; /* optional rounded edges */
}
/* Tab content container */
.tab-content {
    padding-top: 20px;
    padding-left: 10px;
    border-top: none; /* connects visually to the active tab */
    border-radius: 0 0 5px 5px;
    background: #f3f2ee;
}

/* Active tab content */
    .tab-content.active {
        display: block;
    }



.search-box {
    padding: 6px 10px;
    font-size: 14px;
    margin-right: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.search-button {
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 6px;
    background-color: #ffc000;
    border: 1px solid #ffc000;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-button:hover {
    background-color: #e0e0e0;
}


.row {

    margin: 0;
}


/*Columns*/

.col-xs-2 {
    width: 18.667%;
}


.col-md-5 {
    width: 46.667%;
}

/* h tags*/

h2{
    text-align: center;
}

/*Table*/

table th {
    background: #4297d7;
    color: #000000
}

th {
    text-align: center
}

table tr {
    background-color: white
}

/*Buttons*/

/*Titles*/
.title {
    text-align: left
}

/* Container with fixed height and scroll */
.gridContainer {
    max-height: 400px; /* adjust as needed */
    overflow-y: auto;
    border: 1px solid #ccc;
}

/* Main Grid */
.styledGrid {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 14px;
    table-layout: auto; /* let table auto size */
    margin-top: 20px;
}

/* Header */
.gridHeader {
    background-color: #007ACC;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 12px 8px;
    position: sticky;
    top: 0;
    z-index: 2;
    white-space: nowrap; /* prevent header text wrapping */
}

/* Rows */
.gridRow, .gridAltRow {
    text-align: center;
    padding: 10px 8px;
    min-height: 50px;
    border-bottom: 1px solid #ddd;
    word-wrap: break-word;
}

/* Alternating Rows */
.gridAltRow {
    background-color: #f1f8ff;
}

/* Hover */
.styledGrid tr:hover {
    background-color: #cce6ff;
}


/* Full page loading overlay */
.chosenLoader {
    display: none; /* hidden by default */
    text-align:right
}

.chosenLoader img {
    width: 70px;
    text-align: right;
}

#iedcLogo {
    padding-top: 20px;
    text-align: center;
    width:100px
}

.col-md-2 {
    text-align: center;
}

.col-md-6 {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}