﻿/* General pagination container styling */
.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Updated to align pagination controls on the left */
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-family: Arial, sans-serif;
}

    /* Styling for the span displaying the current page */
    .pagination span {
        margin: 0 15px;
        font-size: 16px;
        color: #333;
    }

/* Page size selector styling */
.page-size-selector {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

    .page-size-selector label {
        margin-right: 10px;
        font-size: 14px;
        color: #666;
    }

    .page-size-selector select {
        padding: 5px 10px;
        border: 1px solid #ddd;
        border-radius: 3px;
        background-color: white;
        cursor: pointer;
    }

        .page-size-selector select:focus {
            border-color: #007bff;
            outline: none;
        }

/* Responsive adjustments (optional) */
@media (max-width: 600px) {
    .pagination {
        flex-direction: column;
        align-items: stretch;
    }

        .pagination span, .page-size-selector {
            margin-top: 10px;
        }
}

.btn.padded {
    margin-left: 6px;
    margin-right: 6px;
}

.upload-button {
    margin-left: auto; /* Added to push the upload button to the right */
}

.search-button {
    min-width: 150px;
}

.newRoleName {
    width: 300px;
}

.new-role-section {
    margin-bottom: 1em;
    display: flex;
    align-items: center;
    width: 100%;
}

    .new-role-section .form-control {
        margin-right: 10px;
    }

    .new-role-section .alert {
        margin-bottom: 0;
        margin-left: .5em;
        padding: 0.5em;
        border-radius: 5px;
    }

    .new-role-section .btn {
        min-width: 160px;
    }

.active-role {
    background-color: #f0f0f0;
    font-weight: bold;
}

.newRoleDescription {
    max-width: 50%
}

.filter {
    margin-left:20px;
}

    .filter span {
        margin: 0px; 
    }

.textarea.form-control {
    min-height: 6em;
}

.fa-gears {
    margin: 7px
}

.fa-chart-bar {
    margin: 7px
}

.chart-navigation {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px; /* Adds some space between each button */
    margin-bottom: 20px; /* Adds some space between the navigation and the chart */
    /* Additional styling if needed */
}

.chart-container {
    /* Any additional styling for the container */
}

.chart-area {
    /* Your styling for the chart area */
}


.text-expand-button {
    text-align: right;
}

.test-kbase {
    margin-bottom: 30px;
    margin-top: 10px;
}

.drop-zone {
    position: relative; /* Establish this as a positioning context */
    width: 80%; /* Adjust width as necessary */
    height: 200px; /* Adjust height as necessary */
    border: 2px dashed #46e272;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    margin: auto; /* Center the drop zone if needed */
    background-color: #46e27223;
}

.input-file {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* Make the input invisible */
    cursor: pointer;
}

.upload-button-zone {
    display: flex;
}

.search-block {
    margin-bottom: 20px;
}

/* General container styling */
.home-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column; /* Ensures content is stacked vertically */
    align-items: center; /* Centers content horizontally */
    text-align: center; /* Centers text */
}

/* Main heading styling */
.home-main-heading {
    color: #1a202c;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 0.5em;
}

/* Tagline styling */
.home-tagline {
    display: block; /* Makes span behave like a block for easy margin control */
    color: #4a5568;
    margin: 10px 0;
    font-size: 1.2em;
}

/* Feature image styling */
.home-feature-image {
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    max-width: 100%; /* Ensures the image is responsive */
    height: auto; /* Maintains the aspect ratio */
    width: auto; /* Adjusted to auto for maintaining aspect ratio */
    max-height: 650px; /* You can adjust this value to make the image larger or smaller */
}

/* Ensures the image is not too large on bigger screens */
@media (min-width: 768px) {
    .home-feature-image {
        max-width: 80%; /* Adjust if you want the image to be larger/smaller on larger screens */
        max-height: 650px; /* Adjust according to your preference */
    }
}

/* Add some spacing and a little larger text for larger screens */
@media (min-width: 1024px) {
    .home-container {
        padding: 40px;
    }

    .home-main-heading {
        font-size: 3em;
    }

    .home-tagline {
        font-size: 1.4em;
    }
}
