﻿/* =========================================
   1. الإعدادات العامة للموقع (Theme)
   ========================================= */
body {
    background-color: #141414; /* خلفية داكنة */
    color: #ffffff; /* لون النص أبيض */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 90px; /* ترك مسافة للقائمة العلوية */
    margin: 0;
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

/* =========================================
   2. القائمة العلوية (Navbar)
   ========================================= */
.navbar-custom {
    background-color: #000000;
    border-bottom: 2px solid #d4af37; /* خط ذهبي أنيق */
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

    .navbar-custom .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.navbar-brand {
    color: #d4af37 !important; /* لون ذهبي لشعار الموقع */
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
}

.nav-links a {
    color: #ffffff;
    margin-left: 20px;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s;
}

    .nav-links a:hover {
        color: #d4af37; /* تحول للذهبي عند التمرير */
    }

/* =========================================
   3. صفحات الحسابات (Login & Sign Up)
   ========================================= */
.auth-container {
    background-color: rgba(0, 0, 0, 0.75);
    padding: 50px;
    max-width: 450px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1); /* توهج ذهبي خفيف جدًا */
}

    .auth-container h2 {
        margin-top: 0;
        margin-bottom: 30px;
        font-weight: bold;
        text-align: center;
        font-size: 32px;
        color: #d4af37; /* عنوان ذهبي */
    }

.form-control-custom {
    background-color: #222222;
    color: white;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 15px;
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box; /* يمنع الحقول من الخروج عن الإطار */
    font-size: 16px;
    transition: all 0.3s ease;
}

    .form-control-custom:focus {
        background-color: #111;
        outline: none;
        border-color: #d4af37; /* إطار ذهبي عند التركيز */
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
    }

.btn-cinema {
    background-color: #d4af37; /* زر ذهبي */
    color: #000000; /* نص أسود ليتناسب مع الخلفية الذهبية */
    font-weight: bold;
    font-size: 18px;
    padding: 15px;
    border-radius: 5px;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

    .btn-cinema:hover {
        background-color: #f4d03f; /* ذهبي أفتح عند التمرير */
        transform: translateY(-2px);
    }

/* =========================================
   4. صفحات الإدمن والصفحة الرئيسية
   ========================================= */
.container-box {
    padding: 30px;
    max-width: 900px;
    margin: 20px auto;
    background-color: #1a1a1a;
    border-radius: 10px;
    border: 1px solid #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.movie-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.8);
    border: 1px solid #333;
}

/* جداول الإدمن */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

    .table th, .table td {
        border: 1px solid #333;
        padding: 12px;
        text-align: left;
    }

    .table th {
        background-color: #000000;
        color: #d4af37; /* عناوين الجدول باللون الذهبي */
    }

/* أزرار الإدمن */
.btn-success {
    background-color: #d4af37; /* تغيير للأخضر إلى ذهبي ليناسب الثيم */
    color: #000;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

    .btn-success:hover {
        background-color: #f4d03f;
    }
.btn-warning {
    background-color: #333333; /* تغيير للتحذير ليكون رمادي داكن مع نص ذهبي */
    color: #d4af37;
    border: 1px solid #d4af37;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

    .btn-warning:hover {
        background-color: #d4af37;
        color: #000;
    }