
body {
    background-color: #f4f4f4;
    padding: 20px;
    font-family: 'Roboto', sans-serif;
    flex: 1; /* Keeps body at full height */
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

header {
    position: sticky; /* or fixed if you want always visible */
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: 100%;
    display: block;
}

/* Content inside header */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    flex-wrap: wrap;
    box-sizing: border-box;
    width: 100%;
}

/* Title */
.header-title {
    font-size: 20px;
    font-weight: bold;
    margin-left: 8px;
    color: #333;
    vertical-align: middle;
}

.header-content h1 {
    display: flex;
    align-items: center;
    margin: 0;
}

.header-icon {
    margin-right: 8px;
    flex-shrink: 0;
}

/* User info */
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Fix long text so it doesn’t break layout */
.user-details {
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: 14px;
    color: #555;
    word-break: break-word;
}

.logout-button {
    background: #009688;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.logout-button:hover {
    background: #00796b;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .user-info {
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
    }

    .header-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 16px;
    }

    .user-details {
        font-size: 12px;
        text-align: left;
    }

    .logout-button {
        padding: 5px 10px;
        font-size: 12px;
    }
}


footer {
    background-color: white; /* Change to white or desired color */
    color: #333; /* Darker text color */
    text-align: center;
    padding: 10px;
    width: 100%;
    position: relative; /* Ensures the footer stays at the bottom */
    bottom: 0;
    border-top: 1px solid #e0e0e0; /* Gray line at the top */
    margin-top: auto;
}

.container {
    background: white;
    padding: 24px;
    border-radius: 12px;
{
    #box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
} max-width: 100%;
    margin: 20px auto; /* Add vertical margin for spacing */
    border: 1px solid #e0e0e0;
    flex: 1;
}

@media only screen and (min-width: 993px) {
    .container {
        width: 85%;
    }
}

@media only screen and (min-width: 601px) {
    .container {
        width: 85%;
    }
}

h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #2c3e50;
    font-weight: 700;
    padding: 10px;
}

.input-field {
    margin-bottom: 25px;
}

label {
    color: #777 !important;
    font-size: 16px;
}


.checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 20px;
}

.checkbox-label input {
    margin-right: 10px;
}

.btn {
    width: 100%;
    height: 50px;
    background-color: #009688 !important;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #009688 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.success-message, .error-message {
    margin-top: 20px;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
}

.success-message {
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.dropdown-content input[type="text"] {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 10px;
    padding: 8px;
    width: calc(100% - 20px);
    font-size: 14px;
}

.dropdown-content li > span {
    font-size: 16px;
    padding: 10px 15px;
}

.hidden {
    display: none;
}

.progress {
    display: none;
    margin-top: 20px;
}

.csv-view {
    margin-top: 30px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
}

.csv-table {
    width: 100%;
    border-collapse: collapse;
}

.csv-table th, .csv-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.csv-table th {
    background-color: #f2f2f2;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
}

.login-container {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    border: 1px solid #e0e0e0;
    margin: auto;
}

h4 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-weight: 700;
}

h6 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-weight: 700;

}

h5 {
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
}

/*.input-field label {*/
/*    color: #777 !important;*/
/*    font-size: 16px;*/
/*}*/

/*.input-field input {
    border-radius: 6px !important;
    background-color: #fafafa;
    border: 1px solid #ddd !important;
    padding: 12px;
    font-size: 16px;
}*/

.btn {
    width: 100%;
    height: 50px;
    background-color: #009688 !important;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 20px;
}

.btn:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.error-message {
    margin-top: 20px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
}

.select2 .selection .select2-selection--single, .select2-container--default .select2-search--dropdown .select2-search__field {
    border-width: 0 0 1px 0 !important;
    border-radius: 0 !important;
    height: 2.05rem;
}

.select2-container--default .select2-selection--multiple, .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-width: 0 0 1px 0 !important;
    border-radius: 0 !important;

}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-bottom: solid #009688 1px !important;
    outline: 0;
}

.select2-results__option {
    color: #2f2f2f;
    padding: 8px 16px;
    font-size: 16px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #eee !important;
    color: #009688 !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #e1e1e1 !important;
}

.select2-dropdown {
    border: none !important;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.select2-container--default .select2-results__option[role=group] .select2-results__group {
    background-color: #009688;
    color: #fff;
}

.select2-container .select2-search--inline .select2-search__field {
    margin-top: 0 !important;
}

.select2-container .select2-search--inline .select2-search__field:focus {
    border-bottom: none !important;
    box-shadow: none !important;
}

.select2-container .select2-selection--multiple {
    min-height: 2.05rem !important;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #ddd !important;
    color: rgba(0, 0, 0, 0.26);
    border-bottom: 1px dotted rgb(0, 150, 136);
}

.select2-container--default .select2-selection--multiple {
    padding: 0px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    font-size: 16px;
}

.select2-results__option--selectable {
    padding: 12px;
}

.card-panel {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: none; /* No shadow */
}

.google-login-button {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #555;
    border: 1px solid #ccc;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s, color 0.2s; /* smooth transition */
}

.google-login-button:hover {
    background: #f7f7f7;
}

.google-login-button:active,
.google-login-button:focus {
    background: #e0e0e0; /* darker background when clicked/focused */
    outline: none; /* remove default outline */
    box-shadow: none; /* remove focus glow */
}

.google-login-button.copied {
    background-color: #4caf50;
    color: white;
}

.google-login-container p {
    margin: 0 0 6px 0;
}

.google-login-container {
    margin-top: 40px; /* space from Generate Report button */
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    padding: 6px 0;
}

.breadcrumb-icon {
    flex-shrink: 0;
    margin-right: 4px;
}

.breadcrumb a {
    color: #009688;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #00695c;
    text-decoration: underline;
}

.breadcrumb .separator {
    color: #aaa;
    font-size: 14px;
    user-select: none;
}

.breadcrumb .active {
    color: #444;
    font-weight: 600;
}


.responsive-table-wrapper {
    width: 100%;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 6px;
    overflow-x: auto;
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px; /* ensures table scrolls on very small screens */
}

.responsive-table th,
.responsive-table td {
    border: 1px solid #ddd;
    text-align: left;
    padding: 10px; /* more space inside cells */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.responsive-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.responsive-table tbody tr:nth-child(even) {
    background-color: #fcfcfc; /* light alternating row color */
}

.responsive-table tbody tr:hover {
    background-color: #f1f7ff; /* subtle hover effect */
}

/* Optional: Make text smaller on very small screens */
@media (max-width: 480px) {
    .responsive-table th,
    .responsive-table td {
        padding: 8px;
        font-size: 13px;
    }
}

.pagination-wrapper {
    margin: 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-wrapper a {
    padding: 6px 10px;
    text-decoration: none;
    color: #009688;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: 0.2s;
}

.pagination-wrapper a:hover {
    background-color: #009688;
    color: white;
}

.pagination-wrapper .current-page {
    padding: 6px 10px;
    font-weight: bold;
    color: #2c2c2c;
}