html {
    font-size: 14px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

main-container {
    width: 100%;
    height: 100vh;
}

/* Splash Screen */
#splash-screen {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #003366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 9999;
    animation: fadeOut 3s ease-in-out forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Carousel */
#carousel {
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 200px; /* Fixed height */
    position: relative;
    border-radius: 10px; /* Optional: Adds rounded corners */
}

.carousel-slide {
    flex: 1;
    display: none;
    width: 100%;
    height: 100%;
}

    .carousel-slide img, .carousel-slide video {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensures the image/video fits within the container */
    }

    .carousel-slide:first-child {
        display: block;
    }


.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.option-card {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}

    .option-card:hover {
        transform: scale(1.05);
    }

    .option-card img {
        width: 100%;
        height: auto;
        max-height: 150px;
        object-fit: cover;
    }

/* Different Background Colors */

.blog {
    background: #ff5733;
}

.lands {
    background: #28a745;
}

.survey {
    background: #007bff;
}

.deeds {
    background: #ffc107;
}

.admin {
    background: #6f42c1;
}

.accounts {
    background: #dc3545;
}




/*body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}
*/

.xcontainer {
    max-width: 800px;
    margin: 50px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

    .xcontainer img {
        text-align: center;
        justify-content: center;
        margin: 0 auto;
        height: 50px;
        width: 175px;
    }

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 10px;
    font-weight: bold;
}

input, textarea, select {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

button {
    margin-top: 15px;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

    button:hover {
        background: #0056b3;
    }

.button-container {
    display: flex;
    justify-content: space-between;
}

button.reject {
    background: red;
}

    button.reject:hover {
        background: darkred;
    }

.confirmation-container {
    text-align: center;
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

    .confirmation-container h2 {
        color: #28a745;
        font-size: 24px;
    }

    .confirmation-container p {
        font-size: 16px;
        color: #333;
        margin-bottom: 20px;
    }

    .confirmation-container .btn {
        display: inline-block;
        padding: 10px 15px;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        color: white;
        background-color: #007bff;
        border: none;
        border-radius: 5px;
        text-decoration: none;
        transition: background 0.3s;
    }

        .confirmation-container .btn:hover {
            background-color: #0056b3;
        }

.filter-panel {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
}

.table {
    margin-top: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.header-section {
    text-align: center;
    margin-bottom: 1rem;
}

h1 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

h2 {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    text-align: center;
}

h3 {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin: 15px 0 0 0;
    padding: 0;
    color: green;
}

h4 {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-top: 1rem;
    padding: 0;
}

.logo-container {
    text-align: center;
    margin: 0;
    padding: 0;
}

.logo {
    width: 300px;
    height: auto;
    margin: 0;
    padding: 0;
}

.official-index-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .08rem !important;
    margin: 0 0 .25rem !important;
    padding: .05rem 0 .08rem !important;
    border: 1px solid #c8d7e3 !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, #ffffff, #edf6fa) !important;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .12) !important;
    text-align: center !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.official-index-header .logo-container,
.official-index-header .official-logo-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    line-height: 0 !important;
    flex: 0 0 auto !important;
    font-size: 0 !important;
    overflow: visible !important;
}

.official-index-header .logo,
.official-index-header .official-logo {
    width: min(30vw, 270px) !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: initial !important;
    display: block !important;
    margin: 5mm 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    line-height: 0 !important;
    vertical-align: top !important;
}

.official-index-header .ministry-name {
    margin: 0 !important;
    padding: 0 !important;
    color: #117a37 !important;
    font-size: clamp(1.2rem, 2.8vw, 2.8rem) !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    line-height: .98 !important;
    text-align: center !important;
    text-transform: none !important;
}

.official-index-header .page-title {
    margin: 5mm 0 5mm !important;
    padding: 0 !important;
    color: #123047 !important;
    font-size: clamp(1rem, 1.8vw, 1.65rem) !important;
    font-weight: 950 !important;
    line-height: 1.05 !important;
    text-align: center !important;
    text-transform: none !important;
}

body:has(.official-index-header) > main.container-fluid {
    padding: .05rem !important;
}

body:has(.official-index-header) header .navbar {
    margin-bottom: .05rem !important;
}

.layout-container:has(.official-index-header),
.officefile-layout:has(.official-index-header),
.surveyor-page:has(.official-index-header) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: .05rem !important;
    box-sizing: border-box !important;
}

.staff-shell:has(.official-index-header),
.survey-owner-page:has(.official-index-header),
.survey-team-page:has(.official-index-header),
.staff-desk-container:has(.official-index-header),
.assignment-page:has(.official-index-header) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: .05rem !important;
    box-sizing: border-box !important;
}

.staff-shell:has(.official-index-header) .table-responsive,
.survey-owner-page:has(.official-index-header) .table-responsive,
.survey-team-page:has(.official-index-header) .table-responsive,
.staff-desk-container:has(.official-index-header) .table-responsive,
.assignment-page:has(.official-index-header) .table-wrapper {
    width: 100% !important;
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

.layout-container:has(.official-index-header),
.officefile-layout:has(.official-index-header),
.surveyor-page:has(.official-index-header) {
    gap: .35rem !important;
}

.layout-container:has(.official-index-header) > .main-content,
.officefile-layout:has(.official-index-header) > .main-panel,
.surveyor-page:has(.official-index-header) > .main-content {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 .45rem 0 0 !important;
    box-sizing: border-box !important;
}


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .grid-container {
        width: 100%;
    }
}

/*.remarks-timeline {
    border-left: 3px solid #007bff;
    margin-left: 15px;
    padding-left: 15px;
}

.remark-item {
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.remark-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.remark-body {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.remark-topic {
    font-weight: bold;
    color: #444;
    margin-bottom: 0.25rem;
}

.remark-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: #666;
}

.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.badge-public {
    background-color: #28a745;
    color: white;
}

.badge-internal {
    background-color: #6c757d;
    color: white;
}*/

