/* =========================
   Base
========================= */
body {
    font-family: 'Zain', system-ui, -apple-system, "Segoe UI", Tahoma, Arial;
    background: #F5F6F8;
    margin: 0;
    color: #111;
}

.container {
    max-width: 720px;
    margin: auto;
    padding: 16px;
}

/* =========================
   Logo
========================= */
.brand {
    text-align: center;
    margin: 16px 0 8px;
}

.brand img {
    max-width: 240px;
    height: auto;
}

/* =========================
   Credit text
========================= */
.credit {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

/* =========================
   Social icons
========================= */
.socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
}

.socials a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.socials a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.socials svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

/* Official platform colors */
.socials .fb  { background: #1877F2; }
.socials .ig  { background: #E1306C; }
.socials .tt  { background: #000000; }
.socials .yt  { background: #FF0000; }
.socials .tg  { background: #229ED9; }
.socials .web { background: #0B6E3D; }
.socials .x { background: #000000; }


/* =========================
   Title
========================= */
h1 {
    text-align: center;
    font-weight: 700;
    color: #0B6E3D;
    margin-bottom: 16px;
}

/* =========================
   Search box
========================= */
.search-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.search-box input,
.search-box button {
    padding: 14px;
    font-size: 18px;
    border-radius: 8px;
}

.search-box input {
    border: 1px solid #DDD;
}

.search-box button {
    background: #0B6E3D;
    color: #ffffff;
    border: none;
    cursor: pointer;
}

.search-box button:hover {
    opacity: 0.95;
}

/* =========================
   Results
========================= */
.results {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* =========================
   Card
========================= */
.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* Card header */
.card-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E6E6E6;
    margin-bottom: 12px;
}

.title {
    font-size: 22px;
    font-weight: 700;
    color: #0B6E3D;
    line-height: 1.2;
}

/* =========================
   Badges
========================= */
.badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.badge-id {
    background: #EEF2F6;
    color: #333;
}

.badge-green {
    background: #E9F3EE;
    color: #0B6E3D;
}

.badge-gray {
    background: #EEF2F6;
    color: #333;
}

/* =========================
   Fields
========================= */
.highlights,
.fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.label {
    font-size: 14px;
    color: #666;
}

.value {
    background: #F3F5F7;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 17px;
    color: #111;
    word-break: break-word;
}

/* Highlighted fields */
.field.highlight .label {
    color: #0B6E3D;
    font-weight: 700;
}

.field.highlight .value {
    background: #E9F3EE;
}

/* =========================
   Messages
========================= */
.no-results {
    background: #FFF3CD;
    padding: 14px;
    border-radius: 6px;
    text-align: center;
}

.note {
    margin-top: 24px;
    font-size: 14px;
    color: #555;
    text-align: center;
}

/* =========================
   Mobile fine-tuning
========================= */
@media (max-width: 480px) {
    .title {
        font-size: 20px;
    }

    .value {
        font-size: 16px;
    }
}
