﻿:root {
    --qouai-blue: #1e3a8a;
    --qouai-green: #10b981;
    --bg-light-gray: #f0f2f5; /* الخلفية الهادئة التي طلبتها */
    --white: #ffffff;
    --text-dark: var(--border, #334155);
    --text-muted: #64748b;
}

.ad-container-top {
    max-width: 970px; /* العرض القياسي لإعلانات جوجل */
    height: 90px;
    margin: 20px auto;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.ad-container-mid {
    max-width: 728px;
    height: 90px;
    margin: 50px auto;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-placeholder {
    color: #94a3b8;
    font-size: 12px;
    font-weight: bold;
}

body {
    background-color: var(--bg-light-gray);
    margin: 0;
    direction: rtl;
    font-family: 'Cairo', sans-serif;
    color: var(--text-dark);
}

/* الحاوية العريضة للابتوب */
.container-wide {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* الهيدر المطور */
.main-header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qouai-brand {
    font-size: 32px;
    font-weight: 900;
    color: var(--qouai-blue);
    text-decoration: none;
    order: 2; /* يظهر في أقصى اليسار */
}

.auth-header-group {
    display: flex;
    align-items: center;
    gap: 20px;
    order: 1; /* يظهر في أقصى اليمين */
}

.btn-primary-qouai {
    background: var(--qouai-blue);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.link-register-qouai {
    color: var(--qouai-blue);
    text-decoration: none;
    font-weight: bold;
}

/* منطقة التحويل (Hero) */
.hero-conversion {
    padding: 80px 0;
    text-align: center;
}

.card-conversion {
    background: var(--white);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    max-width: 900px;
    margin: 0 auto;
}

.drop-zone-area {
    border: 3px dashed #cbd5e1;
    padding: 60px;
    border-radius: 25px;
    cursor: pointer;
    background: #fcfdfe;
    margin-bottom: 30px;
    transition: 0.3s;
}

.drop-zone-area:hover {
    border-color: var(--qouai-blue);
    background: #f8fafc;
}

.image-preview-render {
    max-width: 100%;
    max-height: 400px;
    border-radius: 15px;
    display: none;
    margin: 0 auto;
}

.controls-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.select-format {
    padding: 12px 25px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.btn-convert-action {
    background: var(--qouai-green);
    color: white;
    border: none;
    padding: 12px 50px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 18px;
}

/* شبكة الخدمات */
.services-section {
    padding: 60px 0;
}

.services-grid-layout {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.service-card-white {
    background: var(--white);
    padding: 45px 30px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid #edf2f7;
    transition: 0.4s;
}

.service-card-white:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 30px -10px rgba(0,0,0,0.08);
    border-color: var(--qouai-green);
}

.service-icon-style {
    font-size: 55px;
    color: var(--qouai-blue);
    margin-bottom: 25px;
}

/* الفوتر */
.footer-dark {
    background: var(--sidebar-bg, #0f172a);
    color: #94a3b8;
    padding: 80px 0 40px;
    margin-top: 100px;
}

.footer-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

/* قسم الباقات */
.pricing-section {
    padding: 100px 0;
    background: var(--qouai-blue); /* خلفية زرقاء عميقة للقسم بالكامل */
    color: var(--white);
    text-align: center;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.pricing-card {
    background: var(--white);
    color: var(--text-dark);
    padding: 50px 40px;
    border-radius: 25px;
    width: 320px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.pricing-card-premium {
    background: var(--white);
    border: 4px solid var(--qouai-green);
    transform: scale(1.05); /* تمييز باقة المحترفين */
}

.price-value {
    font-size: 45px;
    font-weight: 900;
    color: var(--qouai-blue);
    margin: 20px 0;
}

.features-list {
    text-align: right;
    padding: 30px 0;
    list-style: none;
    margin: 0;
}

.features-list li {
    margin-bottom: 15px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-pricing-action {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.btn-free { background: var(--bg-light-gray); color: var(--qouai-blue); }
.btn-premium { background: var(--qouai-blue); color: var(--white); }














/* حاوية صفحات العضوية */
.auth-container {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card-v2 {
    background: var(--white);
    width: 100%;
    max-width: 450px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* التبديل بين الدخول والتسجيل */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.auth-tab {
    flex: 1;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: bold;
    transition: 0.3s;
}

.auth-tab.active {
    color: var(--qouai-blue);
    border-bottom: 3px solid var(--qouai-blue);
    background: #f8faff;
}

.auth-body {
    padding: 40px;
}

.input-label {
    display: block;
    text-align: right;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
}

.custom-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
    box-sizing: border-box;
    font-family: inherit;
    outline: none;
}

.custom-input:focus {
    border-color: var(--qouai-blue);
}

/* تنسيق حقل كلمة المرور مع الأيقونة */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper .custom-input {
    padding-left: 45px; /* ترك مساحة للأيقونة جهة اليسار */
    margin-bottom: 0; /* سننقل الهامش للحاوية الأكبر */
}

.toggle-password {
    position: absolute;
    left: 15px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 18px;
    transition: 0.3s;
}

.toggle-password:hover {
    color: var(--qouai-blue);
}

/* تنسيق "تذكرني" */
.remember-me-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -10px 0 20px 0;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
}






