﻿/**@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;800&display=swap'); **/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700;800&display=swap');

:root {
    --bg: #f6f8ff;
    --text: #111;
    --radius: 22px;
    /* Dynamic Colors */
    --suggestion: #7c3aed;
    --corruption: #2563eb;
    --complaint: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}
html {
    direction: rtl;
}

body {
    background: var(--bg);
    overflow: hidden;
}

    .page > * {
        transform: rotateY(180deg);
    }

.page {
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
    text-align: center;
    height: 100vh;
    transform: rotateY(180deg);
     overflow-y: auto;
    overflow-x: auto;  
}
    

.hero .logo svg {
    width: 70px;
    fill: #6366f1;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
}

.hero p {
    color: #666;
    margin: 10px 0 40px;
}

h2 {
    margin-bottom: 35px;
    font-size: 28px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
}

/* Card Component */
.card {
    padding: 45px 25px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: .35s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .card::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .08;
        transition: .4s;
    }

    .card:hover {
        transform: translateY(-12px);
        box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    }

        .card:hover::before {
            opacity: .15;
        }

    .card .icon svg {
        width: 55px;
        margin-bottom: 18px;
    }

    .card h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .card p {
        color: #666;
    }

/* Variants */
.suggestion {
    color: var(--suggestion);
}

    .suggestion::before {
        background: var(--suggestion);
    }

.corruption {
    color: var(--corruption);
}

    .corruption::before {
        background: var(--corruption);
    }

.complaint {
    color: var(--complaint);
}

    .complaint::before {
        background: var(--complaint);
    }

.wide {
    grid-column: 1 / -1;
}

.track {
    margin-top: 55px;
    padding: 16px 50px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(45deg,#6366f1,#7c3aed);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 15px 35px rgba(99,102,241,.35);
}

    .track:hover {
        transform: translateY(-6px);
    }


.icon {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

    .icon svg {
        width: 70px;
        filter: drop-shadow(0 10px 15px rgba(0,0,0,.15));
    }
.card-title-btn {
    background: none;
    border: none;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: inherit;
    padding: 0;
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
}

    .card-title-btn:hover {
        opacity: .8;
    }

.card::before {
    pointer-events: none;
}

.card-title-btn {
    background: none;
    border: none;
    font-size: 22px;
    font-weight: bold;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
}

/* حركة ناعمة */
.animated {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* نجعل الصفحة بحجم الشاشة */
body {
    height: 100vh;
    overflow: hidden;
}

/* نقلل المسافات العامة */
.page {
    margin: 20px auto;
    padding: 10px 20px;
}

/* تصغير العناوين */
.hero h1 {
    font-size: 28px;
}

.hero p {
    margin: 5px 0 20px;
    font-size: 14px;
}

h2 {
    margin-bottom: 15px;
    font-size: 20px;
}

/* تصغير الكروت */
.card {
    padding: 25px 15px;
}

/* تصغير الأيقونة */
.icon {
    height: 60px;
    margin-bottom: 10px;
}

    .icon svg {
        width: 45px;
    }

/* تصغير النص */
.card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.card p {
    font-size: 13px;
}

/* تصغير المسافات بين الكروت */
.grid {
    gap: 15px;
}

/* تصغير زر التتبع */
.track {
    margin-top: 20px;
    padding: 10px 30px;
    font-size: 14px;
}
/* كرت النموذج */
.form-card {
    background: #fff;
    padding: 30px;
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    max-width: 900px;
    margin: 0 auto;
}

/* شبكة الحقول */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: right;
}

    .form-group.full {
        grid-column: 1 / -1;
    }

label {
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 14px;
}

.input {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    transition: .3s;
}

    .input:focus {
        outline: none;
        border-color: #6366f1;
        box-shadow: 0 0 0 3px rgba(99,102,241,.15);
    }

.textarea {
    resize: none;
}

/* هيدر أصغر */
.hero.small h1 {
    font-size: 28px;
}

.hero.small p {
    margin-bottom: 20px;
}
/* ===== corruption Professional UI ===== */

.corruption-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0,0,0,.08);
    padding: 40px 35px;
    max-width: 950px;
    margin: 0 auto;
}

.corruption-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 28px 24px;
    margin-bottom: 35px;
}

.field {
    position: relative;
}

    .field.full {
        grid-column: 1 / -1;
    }

/* Floating label */
.input {
    width: 100%;
    padding: 18px 14px 10px;
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    background: #f9fafc;
    transition: .3s;
}

    .input:focus {
        outline: none;
        border-color: #6366f1;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(99,102,241,.12);
    }

.field label {
    position: absolute;
    top: 14px;
    right: 14px;
    color: #888;
    font-size: 13px;
    transition: .25s;
    pointer-events: none;
    background: #fff;
    padding: 0 6px;
}

/* حركة اللابل */
.input:focus + label,
.input:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 11px;
    color: #6366f1;
}

/* Textarea */
.textarea {
    resize: none;
    height: 110px;
}

/* زر احترافي */
.primary-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(45deg,#6366f1,#7c3aed);
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(99,102,241,.35);
    transition: .3s;
}

    .primary-btn:hover {
        transform: translateY(-4px);
    }

/* تصغير الهيدر */
.hero.small h1 {
    font-size: 30px;
}

.hero.small p {
    margin-bottom: 25px;
}
/* ===== Cards Form Layout ===== */

.cards-form {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
    margin: 30px auto;
    max-width: 1000px;
}

.mini-card {
    background: #fff;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
}

    .mini-card.full {
        grid-column: 1 / -1;
    }

    .mini-card label {
        font-weight: 700;
        margin-bottom: 10px;
        font-size: 14px;
    }

.mini-input {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    transition: .3s;
}

    .mini-input:focus {
        outline: none;
        border-color: #6366f1;
        box-shadow: 0 0 0 3px rgba(99,102,241,.15);
    }

.textarea {
    height: 100px;
    resize: none;
}

/* ===== Required star ===== */
.req {
    color: #ef4444;
    font-size: 16px;
    margin-right: 4px;
}

/* ===== Colored Inputs ===== */
.mini-input.colored {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    background: linear-gradient(145deg,#f0f9ff,#eef2ff);
    transition: .3s;
}

    /* عند التركيز */
    .mini-input.colored:focus {
        outline: none;
        border-color: #6366f1;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(99,102,241,.15);
    }
/* تكبير الحقول */
.mini-input {
    width: 100%;
    padding: 18px 16px;
    border-radius: 14px;
    border: 2px solid transparent;
    font-size: 16px;
    transition: .3s;
    color: #111827;
}

/* لون لكل حقل */
/* تكبير الحقول */
.mini-input {
    width: 100%;
    padding: 18px 16px;
    border-radius: 14px;
    border: 2px solid transparent;
    font-size: 16px;
    transition: .3s;
    color: #111827;
}

/* اسم الشخص — سماوي فاتح جدًا */
#txtName {
    background: #eaf6ff;
    border-color: #7dd3fc;
}

/* الجهة — بنفسجي فاتح جدًا */
#txtOrg {
    background: #f3f0ff;
    border-color: #c4b5fd;
}

/* الهاتف — أخضر فاتح جدًا */
#txtPhone {
    background: #ecfdf5;
    border-color: #86efac;
}

/* الايميل — بيج فاتح جدًا */
#txtEmail {
    background: #faf7f2;
    border-color: #e7d7c9;
}

/* عنوان البلاغ — سماوي أفتح */
#txtTitle {
    background: #f0f9ff;
    border-color: #bae6fd;
}

/* التفاصيل — بنفسجي أفتح */
#txtDetails {
    background: #f5f3ff;
    border-color: #ddd6fe;
    min-height: 140px;
}

/* عند التركيز */
.mini-input:focus {
    background: #ffffff !important;
    border-color: #111827 !important;
    box-shadow: 0 0 0 5px rgba(0,0,0,0.08);
    outline: none;
}

/* عند الضغط على الحقل  */
.mini-input:focus {
    background: #ffffff !important;
    border-color: #111827 !important;
    box-shadow: 0 0 0 5px rgba(0,0,0,0.08);
    outline: none;
}

/* تكبير صندوق التفاصيل */
#txtDetails {
    min-height: 140px;
}

/* ===== Header Logos ===== */

.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
}

.hero-center {
    text-align: center;
    flex: 1;
}

.side-logo {
    width: 120px;
    display: flex;
    justify-content: center;
}

    .side-logo img {
        width: 85px;
        height: 85px;
        object-fit: contain;
        transition: .3s;
    }

        /* حركة خفيفة */
        .side-logo img:hover {
            transform: scale(1.05);
        }

/* ===== Login Page ===== */

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.login-card {
    width: 420px;
    background: #fff;
    border-radius: 28px;
    padding: 40px 35px;
    box-shadow: 0 25px 60px rgba(0,0,0,.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

    /* Glow */
    .login-card::before {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        background: linear-gradient(45deg,#6366f1,#8b5cf6);
        border-radius: 50%;
        top: -120px;
        left: -80px;
        opacity: .08;
    }

/* Login Icon */
.login-icon {
    margin-bottom: 25px;
}

    .login-icon svg {
        width: 85px;
        filter: drop-shadow(0 10px 20px rgba(99,102,241,.25));
        animation: float 4s ease-in-out infinite;
    }

/* Fields */
.login-field {
    text-align: right;
    margin-bottom: 22px;
}

    .login-field label {
        display: block;
        margin-bottom: 10px;
        font-weight: 700;
        font-size: 14px;
    }

/* Inputs */
.login-input {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 16px;
    font-size: 15px;
    transition: .3s;
    font-family: 'Cairo', sans-serif;
}

/* User Color */
.user-color {
    background: #eef6ff;
    border: 2px solid #bfdbfe;
}

/* Password Color */
.pass-color {
    background: #f3f0ff;
    border: 2px solid #d8b4fe;
}

/* Focus */
.login-input:focus {
    outline: none;
    background: #fff;
    border-color: #6366f1;
    box-shadow: 0 0 0 5px rgba(99,102,241,.12);
}

/* Button */
.login-btn {
    width: 100%;
    margin-top: 10px;
    padding: 16px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(45deg,#6366f1,#8b5cf6);
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 15px 35px rgba(99,102,241,.30);
}

    .login-btn:hover {
        transform: translateY(-4px);
    }

/* Required */
.req {
    color: #ef4444;
}

/* ===== Stats ===== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    padding: 25px;
    border-radius: 22px;
    color: #111827;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,.07);
}

    .stat-card h2 {
        font-size: 34px;
        margin-bottom: 10px;
    }

    .stat-card p {
        font-size: 15px;
        font-weight: 700;
    }

/* Colors */
.blue {
    background: #eaf6ff;
    border: 2px solid #7dd3fc;
}

.green {
    background: #ecfdf5;
    border: 2px solid #86efac;
}

.purple {
    background: #f3f0ff;
    border: 2px solid #c4b5fd;
}

.beige {
    background: #faf7f2;
    border: 2px solid #e7d7c9;
}

/* ===== Search ===== */

.search-box {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.search-input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
    font-size: 15px;
}

    .search-input:focus {
        outline: none;
    }

.search-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(45deg,#6366f1,#8b5cf6);
    color: #fff;
    cursor: pointer;
    font-size: 15px;
}

/* ===== Table ===== */

.table-card {
    background: #fff;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,.07);
    overflow: auto;
}


/* ===== Status ===== */
.reports-page {
    zoom: 90%;
}
.status {
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
}

    .status.new {
        background: #dbeafe;
        color: #2563eb;
    }

    .status.process {
        background: #ede9fe;
        color: #7c3aed;
    }

    .status.closed {
        background: #dcfce7;
        color: #16a34a;
    }
.reports-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 20px;
}

.table-header {
    background: linear-gradient(45deg,#6366f1,#8b5cf6);
    color: #fff;
    height: 55px;
}

    .reports-table th {
        background: linear-gradient(45deg,#6366f1,#8b5cf6);
        color: #fff;
        padding: 18px;
        font-size: 15px;
    }

    .reports-table td {
        padding: 18px;
        background: #fff;
        border-bottom: 1px solid #f1f5f9;
        text-align: center;
        font-size: 14px;
    }

    .reports-table tr:hover td {
        background: #f8fafc;
    }
/* ===== Footer ===== */

.footer {
    width: 100%;
    margin-top: 40px;
    padding: 20px;
    background: linear-gradient(45deg,#6366f1,#8b5cf6);
    color: red;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer strong {
    font-weight: 700;
}

.divider {
    opacity: .5;
}
/* ===== Reports Table ===== */

.reports-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

    .reports-table th {
        background: linear-gradient(45deg,#6366f1,#8b5cf6);
        color: #ffffff;
        padding: 16px;
        font-size: 15px;
        font-weight: bold;
        border: none;
        text-align: center;
    }

    .reports-table td {
        padding: 16px;
        border: 1px solid #d1d5db;
        text-align: center;
        font-size: 14px;
    }

/* Buttons */

.table-btn {
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition: .3s;
}

/* Print */

.print-btn {
    background: #dbeafe;
    color: #2563eb;
}

    .print-btn:hover {
        background: #2563eb;
        color: #fff;
    }

/* Edit */

.edit-btn {
    background: #ede9fe;
    color: #7c3aed;
}

    .edit-btn:hover {
        background: #7c3aed;
        color: #fff;
    }


/* صف الحالة */

.status-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding-top:30px;
}

/* العنوان */

.status-label {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

/* القائمة */

.status-select {
    width: 250px;
    margin:5px 5px;
    padding: 10px 12px;
    border: none;
    border-radius: 12px;
    background: #eef4ff;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
    cursor: pointer;
}

    .status-select:focus {
        outline: none;
    }