/* White Theme Home Style CSS */

/* Search form container */
.search-form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 2rem;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Form styling */
.form-search {
    width: 100%;
    max-width: 650px;
    text-align: center;
}

/* Logo styling */
.search-logo {
    max-width: 220px;
    height: auto;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: logoFloat 3s ease-in-out infinite;
}

.search-logo:hover {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 12px 24px rgba(102, 126, 234, 0.2));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Search bar wrapper */
.search-bar-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 1.5rem;
    position: relative;
}

.search-bar-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.03), transparent, rgba(118, 75, 162, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.search-bar-wrapper:hover::before {
    opacity: 1;
}

.search-bar-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.search-bar-wrapper:focus-within {
    transform: translateY(-6px);
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.15),
        0 10px 30px rgba(118, 75, 162, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Search input */
.search-input {
    border: none !important;
    background: transparent !important;
    padding: 1.3rem 1.8rem !important;
    font-size: 1.1rem !important;
    color: #334155 !important;
    box-shadow: none !important;
    font-weight: 500;
}

.search-input::placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    opacity: 0.6;
}

.search-input:focus {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Search button */
.search-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    padding: 1.3rem 2.2rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: white !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.search-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.search-button:hover::before {
    left: 100%;
}

.search-button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #f093fb 100%) !important;
    transform: translateX(3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
}

.search-button:active {
    transform: translateX(2px) translateY(1px) scale(0.98);
}

.input-group-append {
    margin-left: 0 !important;
}

/* Search tips */
.search-tips {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease-out 0.3s both;
    position: relative;
    overflow: hidden;
}

.search-tips::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03), rgba(118, 75, 162, 0.03));
    pointer-events: none;
}

.search-tips h6 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.search-tips p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
    font-weight: 500;
}

/* Animation */
.search-animation {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-form-container {
        padding: 1.5rem;
        min-height: 60vh;
    }
    
    .search-logo {
        max-width: 180px;
        margin-bottom: 2rem;
    }
    
    .search-input {
        padding: 1.1rem 1.4rem !important;
        font-size: 1rem !important;
    }
    
    .search-button {
        padding: 1.1rem 1.8rem !important;
        font-size: 0.95rem !important;
    }
    
    .search-bar-wrapper {
        margin-bottom: 1rem;
    }
    
    .search-tips {
        padding: 1.2rem 1.5rem;
        margin-top: 1.5rem;
    }
    
    .search-tips h6 {
        font-size: 1rem;
    }
    
    .search-tips p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .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: 0.95rem !important;
    }
    
    .search-button {
        padding: 1rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
    
    .search-tips {
        padding: 1rem;
    }
}

/* Focus states for accessibility */
.search-input:focus {
    outline: 2px solid rgba(102, 126, 234, 0.4);
    outline-offset: -2px;
}

.search-button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Icon styling */
.search-button i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.search-button:hover i {
    transform: scale(1.1);
}

/* Additional hover effects */
.search-tips:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Loading state animation (optional) */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.search-button.loading {
    animation: pulse 1.5s ease-in-out infinite;
    pointer-events: none;
}