/* General page background */
body {
    background-color: #f9f9fb;
    font-family: "Segoe UI", Roboto, sans-serif;
    color: #333;
}
/* body { */
/*     background-color: #f8f9fa; */
/* } */

/* Header styling */
.status-header {
    background-color: #ffffff;
    border-bottom: 2px solid #dee2e6;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.status-logo img {
    max-height: 60px;
}

.status-title h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #004085;
    margin: 0;
}

.status-buttons .btn {
    margin-left: 0.5rem;
}

/* .status-header { */
/*     padding: 20px 0; */
/*     border-bottom: 1px solid #dee2e6; */
/* } */
/**/
/* .status-logo img { */
/*     max-height: 60px; */
/* } */
/**/
/* .status-title h1 { */
/*     font-size: 2rem; */
/*     font-weight: bold; */
/*     margin: 0; */
/* } */
/**/
/* .status-buttons .btn { */
/*     margin-left: 0.5rem; */
/* } */

.search-section {
    margin-top: 3rem !important;
}

.search-box {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    position: relative; /* Needed for dropdown placement */
}

/* Override DAWA's max-width */
.dawa-autocomplete-container {
    width: 100%;
    max-width: none;
}

.dawa-autocomplete-container input {
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 0.5rem;
}

/* This positions the dropdown absolutely to the container */
.dawa-autocomplete-suggestions {
    position: absolute;
    left: 0;
    right: 0; /* <- This makes the dropdown match the container width */
    background: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: 300px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    z-index: 1000;
}
.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:last-child {
    border-bottom: none;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:hover,
.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion.dawa-selected {
    background-color: #f8f9fa;
}

/* Tab navigation */
.nav-pills .nav-link {
    border-radius: 2rem;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    color: #004085;
}

.nav-pills .nav-link.active {
    background-color: #004085;
    color: white;
}

/* Card styling */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 1rem;
    border: none;
}

.card-header {
    background-color: #f1f1f1;
    font-weight: 500;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.card-header .fa-pen {
    color: #6c757d;
}

.card-body h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #004085;
}

.card-body p {
    font-size: 1rem;
    line-height: 1.6;
}

.card-body ul {
    padding-left: 1rem;
}

hr {
    border-color: #ccc;
    margin: 2rem 0;
}

/* @media (max-width: 768px) { */
/*     .status-buttons { */
/*         text-align: center; */
/*         margin-top: 1rem; */
/*     } */
/* } */

/* Responsive tweaks */
@media (max-width: 768px) {
    .status-title h1 {
        font-size: 1.5rem;
    }

    .status-buttons {
        text-align: center;
        margin-top: 1rem;
    }
}
