﻿صار تضارب بالكود /* ================= RESET ================= */
*, *::before, *::after {
    box-sizing: border-box;
}

/* ================= ROOT ================= */
:root {
    --bg1: #061526;
    --bg2: #020a14;
    --panel: #071c33ee;
    --neon: #18e6ff;
    --text: #eaf6ff;
    --muted: #9fbad0;
}

/* ================= BODY ================= */
body {
    margin: 0;
    font-family: Tajawal, system-ui;
    background: radial-gradient(900px 600px at 80% 10%, rgba(24,230,255,.15), transparent 60%), linear-gradient(135deg, var(--bg1), var(--bg2));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

/* ================= LAYOUT ================= */
.wrap {
    width: min(1200px, 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding: 20px;
}

.panel {
    background: var(--panel);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 0 25px rgba(24,230,255,.18);
}

/* ================= FORM ================= */
label {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: var(--muted);
}

input, select {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(24,230,255,.3);
    background: #020a14;
    color: var(--text);
    outline: none;
}

.actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

button {
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid rgba(24,230,255,.4);
    background: rgba(24,230,255,.15);
    color: var(--text);
    cursor: pointer;
    font-weight: 700;
}

.hint {
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
    min-height: 18px;
}

/* ================= CARD ================= */
.card-preview {
    width: 520px;
    height: 260px;
    display: grid;
    grid-template-columns: 170px 1fr; /* QR يسار | معلومات يمين */
    gap: 18px;
    padding: 18px;
    border-radius: 26px;
    background: radial-gradient(600px 280px at 10% 50%, rgba(24,230,255,.16), transparent 60%), linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02)), linear-gradient(135deg,#04192d,#05243f);
    border: 1px solid rgba(24,230,255,.18);
    box-shadow: 0 20px 55px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.04);
    overflow: hidden;
}

    .card-preview.exporting {
        box-shadow: 0 32px 85px rgba(24,230,255,.45);
    }

/* ================= QR (LEFT) ================= */
.qr-box {
    background: linear-gradient(180deg, #ffffff, #eef5fb);
    border-radius: 22px;
    padding: 14px;
    box-shadow: 0 14px 30px rgba(0,0,0,.22), inset 0 0 0 1px rgba(0,0,0,.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

canvas {
    width: 120px !important;
    height: 120px !important;
}

/* ================= INFO (RIGHT) ================= */
.info {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 6px;
}

/* ===== LOGO ===== */
.logo-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 288px;
    height: 98px;
    gap: 8px; /* ≈ 2 ملم مسافة بين الصورة والأيقونة */

    padding: 8px 10px;
    border-radius: 18px;
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(24,230,255,.28);
    box-shadow: 0 10px 22px rgba(0,0,0,.22);
    display: flex;
    align-items: center;
    justify-content: center;
}
    /* ===== IMAGE ===== */
    .logo-badge .brand-img {
        width: 36px;
        height: 36px;
        border-radius: 10px; /* ⬅️ زوايا محدبة أنيقة */
        object-fit: cover;
        display: block;
        background: #000;
    }

/* ===== PLATFORM (INSIDE BADGE) ===== */
.platform-inside {
    margin: 0; /* لا نريد margin خارجي */
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 999px;
}

.logo-badge img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    display: block;
}

/* ===== PLATFORM ===== */
.platform {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(24,230,255,.12);
    border: 1px solid rgba(24,230,255,.26);
    color: #86e9ff;
    font-size: 13px;
    margin-bottom: 12px;
}

/* ===== NAME ===== */
.name {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: .3px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 290px;
}

/* ===== ACTIVITY ===== */
.activity {
    margin-top: 10px;
    font-size: 18px;
    color: #a9e7ff;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
    padding-bottom: 4px; /* يمنع القص في التصدير */
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
    .wrap {
        grid-template-columns: 1fr;
    }

    .card-preview {
        width: min(520px, 100%);
    }
}

نقحة و نظمة و انطيني الكود كامل بدون نقص
