/* Base styles */
html,
body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    padding-bottom: 50px;
    overflow: hidden;
    /* Optional: Prevents scrolling if content overflows */
}

footer {
    position: fixed !important;
    background-color: #000;
    color: white;
    padding: 5px;
    text-align: center;
    bottom: 0;
    width: 100%;
    height: 30px;
}

.main-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Form and Button Styles */
.fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.legend {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.submit-button {
    background-color: #525e61;
    color: rgb(249, 247, 247);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 1rem;
}

.submit-button:hover {
    background-color: #000;
}

.button-container {
    text-align: center;
    /* Centers inline and inline-block elements */
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        margin: 1rem;
        padding: 1rem;
    }

    .submit-button {
        width: 100%;
    }
}

/* List Group Item Styles */
.list-group-item {
    padding: 10px;
    border: 1px solid #eaeaea;
    margin-bottom: 5px;
}

/* Additional styles can be added below */
.form-field {
    flex: 0.7 0 30%;
    display: flex;
    align-items: left;
    margin-bottom: 5px;
}

.form-field label {
    flex: 0.7 0 30%;
    text-align: left;
    margin-right: 10px;
    min-width: 53%;
}

.form-field>div {
    flex: 0;
    max-width: 70%;
    display: flow;
}

.form-field input[type="text"],
.form-field input[type="number"],
.form-field input[type="range"],
.form-field select,
.form-field textarea {
    width: 100%;
    /* Full width of the parent container */
    max-width: 200px;
    /* Maximum width for the fields themselves */
}


header {
    background-color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    /* Center align text for smaller screens */
}

.header-text {
    flex-grow: 1;
    /* Allows the text container to take up available space */
    text-align: center;
    /* Center aligns the text within the container */
    color: #fff;
}

.user-login img {
    width: 50px;
    /* Adjust as per your needs */
    height: auto;
    border-radius: 50%;
    /* Optional: for circular images */
}

.header-logo img {
    width: 80px;
    /* Adjust as per your logo size */
    height: auto;
}

.plot-img {
    height: auto;
    max-width: 100%;
    margin-bottom: 20px;
}

.collapsible-header {
    cursor: pointer;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}

.collapsible-header:hover {
    background-color: #dae0e5;
}

/* Icons for a cool look */
.icon {
    width: 1rem;
    margin-right: 0.5rem;
}

.full-height {
    height: 100vh;
    /* Full height of the viewport */
}

.scrollable {
    overflow-y: auto;
    padding-bottom: 80px;
    /* Add vertical scroll */
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.no-gutters>.col,
.no-gutters>[class*="col-"] {
    padding-right: 10px;
    padding-left: 10px;
}

#uploadForm {
    margin: 6px;
    border-radius: 10px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: box-shadow 0.3s;
}

.progress-bar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    margin-top: 15vw;
    margin-bottom: 20px;
}

#progressBar {
    width: 50%;
}

.dashbord {
    overflow: hidden;
}

.custom-table {
    overflow: auto !important;
    font-size: 12px;
    padding: auto;

    th,
    td {
        width: 150px;
        /* Example fixed width */
    }
}

.scrollable-table .table-responsive {
    max-height: 75vh;
    /* Adjust the height as needed */
    overflow-y: auto;
}

.scrollable-table table {
    width: 100%;
    table-layout: fixed;
}

.scrollable-table thead th {
    position: sticky !important;
    top: 0 !important;
    background: #000;
    /* Match the header background to your design */
    z-index: 10;
}

/* Optional: Add a scrollbar gutter to prevent width changes when the scrollbar appears or disappears */
.scrollable-table .table-responsive {
    overflow-y: scroll;
}

/* For browsers that support it, this will always show the scrollbar */
.scrollable-table .table-responsive::-webkit-scrollbar {
    -webkit-appearance: none;
}

.scrollable-table .table-responsive::-webkit-scrollbar:vertical {
    width: 12px;
}

.scrollable-table .table-responsive::-webkit-scrollbar-thumb {
    background-color: #000;
    /* Scroll thumb color */
    border-radius: 10px;
    border: 2px solid #FFF;
    /* Container color */
}