/* ==========================================
   Modern Esan Illustration Theme Palette
   Primary: White (#ffffff)
   Accent 1: Indigo/Royal Blue (#004aad)
   Accent 2: Golden Yellow (#fccc14)
   Accent 3: Terracotta/Esan Clay (#9d4215)
========================================== */

/* Global Reset & Base Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Kanit', sans-serif;
}

body {
    background-color: #ffffff;
    color: #2d3748;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Container */
.site-header {
    background-color: #ffffff;
    border-bottom: 4px solid #004aad;
    box-shadow: 0 4px 20px rgba(0, 74, 173, 0.08);
    padding: 12px 24px;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Brand Section (Logo & Titles) */
.header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.header-logo-wrapper {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
    background-color: #ffffff;
}

.header-title-box {
    display: flex;
    flex-direction: column;
}

.header-title-main {
    font-size: 1.2rem;
    font-weight: 600;
    color: #004aad;
    line-height: 1.25;
}

.header-title-sub {
    font-size: 0.88rem;
    color: #9d4215;
    font-weight: 500;
}

/* Search & Status Check Section */
.header-search-box {
    display: flex;
    align-items: center;
}

.search-form {
    display: flex;
    gap: 8px;
    width: 100%;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 2px 6px;
    transition: all 0.2s ease-in-out;
}

.search-input-group:focus-within {
    border-color: #004aad;
    box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.15);
}

.search-input-group input {
    border: none;
    background: transparent;
    padding: 8px 10px;
    font-size: 0.9rem;
    outline: none;
    width: 170px;
    color: #2d3748;
}

.search-btn {
    background-color: #004aad;
    color: #ffffff;
    border: none;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 74, 173, 0.2);
}

.search-btn:hover {
    background-color: #9d4215;
    box-shadow: 0 4px 10px rgba(157, 66, 21, 0.3);
}

/* Main Content Area */
.main-wrapper {
    flex: 1;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    background-color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 680px) {
    .site-header {
        padding: 10px 16px;
    }

    .header-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .header-search-box, 
    .search-form {
        width: 100%;
    }

    .search-input-group {
        flex: 1;
    }

    .search-input-group input {
        width: 100%;
    }
}