﻿.navbar-darks {
    --bs-navbar-color: rgb(22 65 109);
    --bs-navbar-hover-color: rgba(255, 255, 255, 0.75);
    --bs-navbar-disabled-color: rgba(255, 255, 255, 0.25);
    --bs-navbar-active-color: #fff;
    --bs-navbar-brand-color: #fff;
    --bs-navbar-brand-hover-color: #fff;
    --bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.1);
    --bs-navbar-toggler-icon-bg: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e);
}

.form-container {
    display: grid;
    grid-template-columns: max-content 1fr; /* Label column fits text; input fits rest */
    gap: 15px 20px; /* Vertical and horizontal spacing */
    align-items: center;
}
.fa-download, .bi-download {
    font-size: 24px;
    color: #007bff;
    cursor: pointer;
}
label {
    grid-column: 1;
    text-align: right;
}

input {
    grid-column: 2;
}
.form-row {
    display: flex;
    margin-bottom: 10px;
    align-items: center; /* Vertically centers label with input */
}
    .form-row label {
        width: 200px; /* Forces all labels to the same width for alignment */
    }
.dvmnfo {
    text-decoration-color: #ffffff !important;
    font-weight: bold !important;
    font-size: 16px !important;
}
.btnadd {
    display: block;
    height: 10px;
    width: 10px;
    border-radius: 4%;
    border: 1px solid red;
} 
.add-more-btn {
    background-color: transparent;
    color: #008CBA;
    border: 1px solid #008CBA;
    padding: 5px 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-more-btn:hover {
        background-color: #008CBA;
        color: white;
    }
.red-star {
    color: red;
    font-size: 2em; /* Optional: increases size */
}
.full-width {
    width: 100%;
}
.column-small {
    width: 50px;
}

.column-large {
    width: 200px;
}
.modalBackground {
    background-color: Black;
    opacity: 0.8;
}
.cstextarea{
    width: 500px; /* Fills the container width */
    height: 150px; /* Sets a specific height */
    padding: 10px; /* Internal spacing */
    border: 1px solid #ccc; /* Light grey border */
    border-radius: 4px; /* Rounded corners */
    font-family: inherit; /* Matches page font */
    resize: vertical; /* Restricts resizing to vertical only */
}
.csdate {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family:Arial;
}
/* Main Grid Style */
.mGrid {
    width: 100%;
    background-color: #fff;
    margin: 5px 0 10px 0;
    border: solid 1px #1a2674;
    border-collapse: collapse;
}

    /* Header Style */
    .mGrid th {
        padding: 4px 2px;
        color: #fff;
        background: #1a2674;
        border-left: solid 1px #1a2674;
        font-size: 0.9em;
    }
.topdiv {
    color: #ffffff;
    width: 100%;
    background-color: #1a2674;
}

    /* Row and Cell Style */
.mGrid td {
    padding: 2px;
    border: solid 1px #d5a00f;
    color: #d5a00f;
    background-color: #1a2674;
}

    /* Alternating Row Style */
    .mGrid .alt {
        background: #254B71;
    }

/* Pager Style */
.pgr {
    background: #424242;
}

    .pgr table {
        margin: 5px 0;
    }

    .pgr td {
        border-width: 0;
        padding: 0 6px;
    }

    .pgr a {
        color: #666;
        text-decoration: none;
    }
.submenu-zindex {
    z-index: 9999 !important;
}
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* The actual popup content box */
.popup-box {
    background-color:black;
}
.welcome-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 400px;
    margin: 50px auto;
}
.popupss {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


/* The actual popup box */
.modal-content {
    background-color:black;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    position: relative;
}

.pgr a:hover {
            color: #000;
            text-decoration: none;
  }

.message-container {
    background-color: #ffe895; /* Light green background */
    border-radius: 15px; /* Rounded corners */
    padding: 15px; /* Spacing inside */
    width: fit-content; /* Shrink to fit text */
    max-width: 60%; /* Limit width */
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1); /* Subtle shadow */
    font-family: Arial, sans-serif;
    margin: 10px;
}

.message-time {
    font-size: 0.75em;
    color: #888;
    display: block;
    text-align: right;
}


/* Flexbox for labels and inputs within each div */
.form-group {
    display:flex;
    flex-direction:column;
    margin-bottom: 10px;
}
.form-groups {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* Label styling */
.form-group label {
    font-weight: normal;
    margin-bottom: 4px;
    color: #333;
}

/* Mobile-friendly inputs: large touch targets */
.form-control {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
}

/* Full-width submit button */
.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Adjust layout for larger screens */
@media (min-width: 768px) {
    .form-group {
        flex-direction: row;align-items: center;
    }
        .form-group label {
            width: 200px;
            margin-bottom: 0;
        }
    .form-control {
        flex: 1;
    }

    .btn-submit {
        width: auto;
        padding: 12px 30px;
        margin-left: 200px;
    }
}
.widget {
    margin-left: -1px; /* Pulls the widget to the left by the specified pixels */
}
.top-container {
    max-width: 1200px;
    margin: 0 auto; /* Horizontally centers the layout element */
    padding: 0 20px;
}

/* Interior layout spacing */
.container-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-family: sans-serif;
}

.container-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #cbd5e0; /* Muted light gray text */
    font-family: sans-serif;
}

/* Optional Call to Action Button */
.cta-btn {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: bold;
    color: #1a202c;
    background-color: #3182ce; /* Vibrant blue */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .cta-btn:hover {
        background-color: #2b6cb0; /* Darker blue on hover */
    }

.form-group input, .form-group select {
    box-sizing: border-box;
}
.marquee-container {
    background-color: #ffd204; /* Bright background for alerts */
    color: white;
    padding: 5px 0;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: scroll 15s linear infinite;
}

/* Pause on hover optional */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* CSS Animation for the scroll effect */
@keyframes scroll {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }

}
.custom-list {
    /* Options: disc (default), square, circle, or none */
    list-style-type: circle;
    /* Pushes bullets inside the text block or keeps them outside (default) */
    list-style-position: outside;
    /* Adds spacing between the points */
    padding-left: 20px;
    color: #000000;    
}

    .custom-list li {
        margin-bottom: 8px; /* Adds space between each row */
    }
/* Left child container: Logo */
.logo-box {
    flex: 1; /* Takes up equal space */
    text-align: center; /* Centers image horizontally */
    max-width: 300px; /* Restricts maximum size */
}

.logo-box img {
        max-width: 100%; /* Makes logo responsive */
        height: auto;
    }

/* Right child container: Login Form */
.form-box {
    flex: 1; /* Takes up equal space */
    max-width: 350px; /* Restricts form width */
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
}
.slideshow-container {
    text-align: center;
    margin-top: 25px;
    font-family: Arial, sans-serif;
    object-fit: contain !important;
}
.slide-images {
    width: 600px;
    height: 600px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.btn-nav {
    padding: 10px 20px;
    font-size: 16px;
    margin: 15px 5px;
    cursor: pointer;
    background-color: #1a2674;
    color: white;
    border: none;
    border-radius: 4px;
}

    .btn-nav:hover {
        background-color: #1a2674;
    }
.slide-description {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}
.input-icon-container {
    position: relative;
    width: 250px;
}

.icon-textbox {
    width: 100%;
    padding: 8px 8px 8px 35px; /* Leave space on the left for the icon */
    box-sizing: border-box;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #aaa;
}