﻿/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa; /* Light gray background for the whole page */
    color: #333; /* Dark text for good contrast */
    margin: 0;
    padding: 0;
}

/* Header Styling */
header {
    background-color: rgb(54,54,54);
    color: white;
    padding: 30px 0;
}

    header img {
        max-width: 150px;
        margin-bottom: 10px;
    }

    header h1 {
        font-size: 2rem;
        font-weight: bold;
        margin: 0;
    }

/* Footer Styling */
footer {
    background-color: rgb(54,54,54);
    color: white;
    padding: 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

    footer p {
        margin: 0;
        font-size: 0.9rem;
    }

/* Main Content Styling */
main {
    padding: 50px 0;
}

.card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 30px;
}

/* Form Label Styling */
.form-label {
    font-weight: bold;
}

/* TextBox Styling */
.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da; /* Light gray border */
    padding: 10px;
}

    .form-control:focus {
        border-color: #1a73e8; /* Focus border color */
        box-shadow: 0 0 5px rgba(26, 115, 232, 0.5);
    }

/* Button Styling */
.btn-primary {
    background-color: #1a73e8; /* Pellamid Atlantic blue */
    border-color: #1a73e8;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
}

    .btn-primary:hover {
        background-color: #1558b0;
        border-color: #1558b0;
    }

/* Message Label Styling (Error and Success) */
.form-text {
    font-size: 1rem;
    font-weight: normal;
}

.text-success {
    color: #28a745; /* Green color for success messages */
}

.text-danger {
    color: #dc3545; /* Red color for error messages */
}

.trash-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 1.25rem;
    cursor: pointer;
}

/* Select2 styling */
.select2-container .select2-results__options {
    max-height: 550px !important; /* Adjust height of the dropdown's list */
    overflow-y: auto !important; /* Add scrolling for overflow */
}

/* Sort styling */
.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #6c757d; /* Set a darker border for unselected state */
    background-color: #ffffff; /* Ensure a white background */
}

    /* Change the color when the radio button is selected */
    .form-check-input:checked {
        background-color: #0d6efd; /* Primary blue for selected */
        border-color: #0d6efd; /* Match the blue for border */
    }

    /* Add hover effect for better accessibility */
    .form-check-input:hover {
        border-color: #0d6efd; /* Highlight border on hover */
    }

/* Style the label for readability */
.form-check-label {
    font-size: 1rem;
    margin-left: 0.5rem;
}

/* Adjust spacing between items in the row */
.d-flex.flex-wrap {
    gap: 1rem;
}


/* Responsive Design */
@media (max-width: 576px) {
    .card {
        padding: 15px;
    }

    .card-body {
        padding: 20px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    footer p {
        font-size: 0.8rem;
    }
}


