
/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #2a2c2e;
    color: #e3c012;
    line-height: 1.6;
    overflow-x: hidden;
}

.site-wrapper { width: 100%; }

/* Navigation */
.main-header {
    background: #0f172a; /* Deep Dark Blue */
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span { color: #38bdf8; } /* Light Blue Accent */

.top-nav a {
    color: #cbd5e1;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.top-nav a:hover { color: #38bdf8; }

/* Hero Section */
.hero-section {
   background: url('https://images.unsplash.com/photo-1551434678-e076c223a692?q=80&w=2070') center/cover no-repeat;
    height: 500px;
    position: relative;
}

.hero-overlay {
    background: rgba(15, 23, 42, 0.8);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-inner h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.hero-inner .highlight { color: #38bdf8; }

.btn-primary {
    background: #38bdf8;
    color: #fff;
    padding: 14px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin: 10px;
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin: 10px;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: -40px; /* Overlap with hero */
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.stat-card {
    background: #fff;
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card .label { display: block; font-size: 12px; color: #64748b; text-transform: uppercase; }
.stat-card .value { font-size: 24px; font-weight: 800; color: #0f172a; }

/* Main Content Area */
.content-container {
    max-width: 1200px;
    margin: 60px auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .hero-inner h1 { font-size: 2rem; }
    .stats-bar { flex-direction: column; align-items: center; }
    .main-header { flex-direction: column; gap: 15px; }
}




/* =========================================================
   FORCE OVERRIDE OLD LOGIN / SIGNUP TABLES (INDEX FIX)
========================================================= */

/* إجبار كل الجداول القديمة تصبح حديثة */
table{
    background:transparent !important;
}

/* مربعات تسجيل الدخول */
td{
    background:#ffffff !important;
}

/* إزالة المربعات الرمادية القديمة */
table table,
table td table{
    background:#ffffff !important;
    border-radius:16px !important;
    box-shadow:0 6px 18px rgba(0,0,0,0.06) !important;
}

/* صندوق Login */
input[type="text"],
input[type="password"]{
    border:1px solid #cbd5e1 !important;
    background:#fff !important;
}

/* زر Login */
input[type="submit"],
input[type="button"]{
    background:linear-gradient(135deg,#2563eb,#1d4ed8) !important;
    color:#fff !important;
}

/* إزالة أي خلفية قديمة */
body, table, td{
    background-image:none !important;
}

/* تنظيف layout القديم */
center{
    width:100% !important;
}
