/* File: styles/default/style.css */

.search-form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 2rem;
}

.form-search {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.search-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.search-logo:hover {
    transform: scale(1.05);
}

.search-bar-wrapper {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.search-bar-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.search-bar-wrapper:focus-within {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 45px rgba(0, 86, 179, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 86, 179, 0.3);
}

.search-input {
    border: none !important;
    background: transparent !important;
    padding: 1.2rem 1.5rem !important;
    font-size: 1.1rem !important;
    color: rgba(0, 0, 0, 0.85) !important;
    box-shadow: none !important;
}

.search-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

.search-input:focus {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.search-button {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%) !important;
    border: none !important;
    padding: 1.2rem 2rem !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: white !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.search-button:hover {
    background: linear-gradient(135deg, #003d82 0%, #002a5c 100%) !important;
    transform: translateX(2px);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3) !important;
}

.search-button:active {
    transform: translateX(1px) translateY(1px);
}

.search-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.search-button:hover::before {
    left: 100%;
}

.input-group-append {
    margin-left: 0 !important;
}

.search-tips {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.9rem;
}

.search-tips h6 {
    color: rgba(0, 0, 0, 0.8);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.search-animation {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-form-container {
        padding: 1rem;
        min-height: 50vh;
    }
    
    .search-logo {
        max-width: 150px;
        margin-bottom: 1.5rem;
    }
    
    .search-input {
        padding: 1rem 1.2rem !important;
        font-size: 1rem !important;
    }
    
    .search-button {
        padding: 1rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
    
    .search-bar-wrapper {
        margin-bottom: 0.5rem;
    }
}

/* Focus ring for accessibility */
.search-input:focus {
    outline: 2px solid rgba(0, 86, 179, 0.5);
    outline-offset: 2px;
}

.search-button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}
/* =========================
    HEADER MỚI
========================= */
.site-header {
    padding: 1rem 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Căn chỉnh các mục trong header */
}

.site-header .navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px; /* Khoảng cách giữa logo và chữ */
}

.site-header .site-logo {
    height: 32px;
    width: auto;
}

.site-header .site-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #343a40;
}
/* =========================
    GIAO DIỆN CHUNG & HEADER MỚI
========================= */

/* Nền xám nhạt cho toàn bộ trang */
body {
    background-color: #f8f9fa;
}

.site-header {
    padding: 1.5rem 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
}

.site-header .container {
    display: flex;
    align-items: center;
}

.site-header .navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

/* Tái sử dụng logo nhiều màu cho header */
.google-logo-header {
    font-family: "Product Sans", Arial, sans-serif;
    font-size: 1.8rem; /* Kích thước nhỏ hơn cho header */
    font-weight: 700;
    letter-spacing: -1px;
}
.google-logo-header span:nth-of-type(1) { color: #4285F4; } /* I */
.google-logo-header span:nth-of-type(2) { color: #EA4335; } /* P */
.google-logo-header span:nth-of-type(3) { color: #FBBC05; } /* F */
.google-logo-header span:nth-of-type(4) { color: #4285F4; } /* i */
.google-logo-header span:nth-of-type(5) { color: #34A853; } /* n */
.google-logo-header span:nth-of-type(6) { color: #EA4335; } /* d */

.site-header .site-title {
    font-size: 1rem;
    font-weight: 400;
    color: #6c757d;
    padding-left: 12px;
    margin-left: 12px;
    border-left: 1px solid #dee2e6;
}