
:root {
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --dark: #1f2937;
  --light: #f3f4f6;
  --white: #ffffff;
  --gray: #9ca3af;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: var(--light); color: var(--dark); line-height: 1.6; }
header { background: var(--dark); color: var(--white); padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; }
header .logo { font-size: 1.5rem; font-weight: bold; color: var(--primary); text-decoration: none; }
nav ul { display: flex; list-style: none; gap: 1.5rem; }
nav ul li a { color: var(--white); text-decoration: none; transition: color 0.3s; }
nav ul li a:hover, nav ul li a.active { color: var(--primary); }
.hero { background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://auto.digitalwebedu.com/images/bg.jpeg'); background-size: cover; background-position: center; color: var(--white); text-align: center; padding: 5rem 2rem; }
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; }
.btn { background: var(--primary); color: var(--dark); padding: 0.75rem 1.5rem; border: none; border-radius: 5px; font-weight: bold; cursor: pointer; text-decoration: none; display: inline-block; text-align: center; }
.btn:hover { background: var(--primary-dark); color: var(--white); }
.container { max-width: 1000px; margin: 2rem auto; padding: 0 1rem; }
.card { background: var(--white); padding: 2rem; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); margin-bottom: 1.5rem; }
.adsense-container { background: #e5e7eb; border: 2px dashed var(--gray); text-align: center; padding: 1rem; margin: 2rem 0; border-radius: 6px; color: #4b5563; font-size: 0.9rem; }
footer { background: var(--dark); color: var(--white); text-align: center; padding: 1.5rem; margin-top: 3rem; }
input, select, textarea { width: 100%; padding: 0.75rem; margin-top: 0.3rem; border: 1px solid #d1d5db; border-radius: 4px; }
.firebase-search-dropdown {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #d1d5db;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 4px;
}
.firebase-search-dropdown .dropdown-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s;
}
.firebase-search-dropdown .dropdown-item:last-child {
    border-bottom: none;
}
.firebase-search-dropdown .dropdown-item:hover {
    background-color: #f9fafb;
}
.firebase-search-dropdown .dropdown-item .fw-bold { font-weight: bold; }
.firebase-search-dropdown .dropdown-item .small { font-size: 0.8rem; }
.firebase-search-dropdown .dropdown-item .text-muted { color: var(--gray); }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media(max-width: 768px) { nav ul { flex-direction: column; gap: 0.5rem; display: none; } header { flex-direction: column; align-items: flex-start; } }
