/* Nəticə kartı — Tailwind sinifləri HTML-dən çıxarılıb; görünüş eyni qalır. */
.eer-card {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid #e5e7eb;
}
.eer-card:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.eer-card:not(.external-exam-result-card--compact):hover {
    transform: scale(1.05);
}

.eer-card--cat-first {
    border-color: #fcd34d;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 0 0 1px rgb(253 230 138 / 0.7);
}
.eer-card--cat-second {
    border-width: 2px;
    border-color: rgb(203 213 225 / 0.9);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 0 0 2px rgb(226 232 240 / 0.6);
}
.eer-card--cat-third {
    border-width: 2px;
    border-color: #f97316;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 0 0 2px rgb(254 215 170 / 0.8);
}
.eer-card--cat-top {
    border-width: 2px;
    border-color: #a78bfa;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 0 0 1px rgb(221 214 254 / 0.7);
}
.eer-card--cat-excellent {
    border-width: 2px;
    border-color: #34d399;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 0 0 1px rgb(167 243 208 / 0.7);
}
.eer-card--cat-high {
    border-width: 2px;
    border-color: #60a5fa;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 0 0 1px rgb(191 219 254 / 0.7);
}
.eer-card--cat-good {
    border-color: #34d399;
    box-shadow: 0 0 0 1px rgb(167 243 208 / 0.5);
}
.eer-card--cat-passed {
    border-color: #2dd4bf;
    box-shadow: 0 0 0 1px rgb(153 246 228 / 0.5);
}
.eer-card--cat-failed {
    border-color: #f87171;
    box-shadow: 0 0 0 1px rgb(254 202 202 / 0.5);
}

.eer-card__hero {
    position: relative;
    overflow: hidden;
}
.eer-card__hero--photo { aspect-ratio: 5 / 4; }
.eer-card__hero--plain { aspect-ratio: 2.2 / 1; }
@media (min-width: 640px) {
    .eer-card__hero--photo { aspect-ratio: 6 / 5; }
    .eer-card__hero--plain { aspect-ratio: 2.15 / 1; }
}
.eer-card:not(.external-exam-result-card--compact) .eer-card__hero--plain {
    aspect-ratio: 2.15 / 1;
}
@media (min-width: 640px) {
    .eer-card:not(.external-exam-result-card--compact) .eer-card__hero--plain {
        aspect-ratio: 2.1 / 1;
    }
}

.eer-card__zoom {
    position: relative;
    z-index: 10;
    display: block;
    width: 100%;
    cursor: zoom-in;
}
.eer-card__zoom:focus { outline: none; }
.eer-card__zoom:focus-visible { box-shadow: inset 0 0 0 2px #00AEEF; }
.eer-card__zoom-dim {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 0.15);
}
.eer-card__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.eer-card__fallback,
.eer-card__plain-hero {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eer-card__fallback { display: none; }
.eer-card__fallback.is-visible { display: flex; }

.eer-card__pin {
    position: absolute;
    z-index: 20;
    pointer-events: none;
}
.eer-card__pin--tl { top: 0.5rem; left: 0.5rem; }
.eer-card__pin--bl { bottom: 0.5rem; left: 0.5rem; }

.eer-card__ribbon {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}
@media (min-width: 640px) {
    .external-exam-result-card--compact .eer-card__ribbon { font-size: 11px; }
}
.eer-card:not(.external-exam-result-card--compact) .eer-card__ribbon { font-size: 11px; }
.eer-card__ribbon--first {
    background: linear-gradient(to right, #fcd34d, #facc15);
    color: #78350f;
    border: 1px solid rgb(251 191 36 / 0.7);
}
.eer-card__ribbon--second {
    background: linear-gradient(115deg, #e2e8f0, #fff, #e2e8f0);
    color: #334155;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}
.eer-card__ribbon--third {
    background: linear-gradient(to right, #fb923c, #f59e0b);
    color: #fff;
    border: 1px solid #fdba74;
}
.eer-card:not(.external-exam-result-card--compact) .eer-card__ribbon--first {
    background: #fef3c7;
    color: #78350f;
    border: 1px solid #fcd34d;
}
.eer-card:not(.external-exam-result-card--compact) .eer-card__ribbon--second {
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}
.eer-card:not(.external-exam-result-card--compact) .eer-card__ribbon--third {
    background: #ffedd5;
    color: #7c2d12;
    border: 1px solid #fdba74;
}

.eer-card__subject {
    display: inline-flex;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 700;
    color: rgb(255 255 255 / 0.95);
    background: rgb(255 255 255 / 0.15);
    border: 1px solid rgb(255 255 255 / 0.25);
}

.eer-card__body {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    padding: 0.75rem;
}
.external-exam-result-card--compact .eer-card__body { padding: 0.5rem; }
@media (min-width: 768px) {
    .eer-card:not(.external-exam-result-card--compact) .eer-card__body { padding: 1rem; }
}
@media (min-width: 1024px) {
    .eer-card:not(.external-exam-result-card--compact) .eer-card__body { padding: 1.25rem; }
}

.eer-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.external-exam-result-card--compact .eer-card__head { margin-bottom: 0.25rem; }

.eer-card__name {
    flex: 1;
    margin: 0 0.5rem 0 0;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.25;
    font-size: 0.875rem;
}
@media (min-width: 768px) {
    .eer-card:not(.external-exam-result-card--compact) .eer-card__name { font-size: 1.125rem; }
}
.external-exam-result-card--compact .eer-card__name { font-size: 0.75rem; }

.eer-card__status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
}
.eer-card__status svg { width: 1rem; height: 1rem; }
.eer-card__status--first { background: #fef9c3; color: #ca8a04; }
.eer-card__status--second { background: #f3f4f6; color: #4b5563; }
.eer-card__status--third { background: #ffedd5; color: #ea580c; }
.eer-card__status--excellent { background: #dcfce7; color: #16a34a; }
.eer-card__status--high { background: #dbeafe; color: #2563eb; }

.eer-card__exam {
    margin: 0 0 0.625rem;
    color: #475569;
    line-height: 1.375;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.75rem;
}
@media (min-width: 768px) {
    .eer-card:not(.external-exam-result-card--compact) .eer-card__exam { font-size: 0.875rem; }
}
.external-exam-result-card--compact .eer-card__exam {
    font-size: 10px;
    margin-bottom: 0.375rem;
}

.eer-card__rank { margin-bottom: 0.5rem; }
.external-exam-result-card--compact .eer-card__rank { margin-bottom: 0.25rem; }
.eer-card__rank-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}
.eer-card__rank-pill--first {
    font-weight: 700;
    background: #fef9c3;
    color: #713f12;
    border-color: #facc15;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}
.eer-card__rank-pill--second {
    font-weight: 700;
    background: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}
.eer-card__rank-pill--third {
    font-weight: 700;
    background: #ffedd5;
    color: #7c2d12;
    border-color: #f97316;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}
.eer-card__rank-pill--top {
    font-weight: 600;
    background: #f5f3ff;
    color: #5b21b6;
    border-color: #c4b5fd;
}

.eer-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}
.external-exam-result-card--compact .eer-card__tags { margin-bottom: 0.25rem; }
.eer-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    max-width: 100%;
}
.external-exam-result-card--compact .eer-card__tag {
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.eer-card__tag--featured {
    background: #fffbeb;
    color: #78350f;
    border: 1px solid #fcd34d;
    border-radius: 0.375rem;
    font-weight: 600;
}
.eer-card__tag--cat {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.eer-card__tag--year {
    background: #f9fafb;
    color: #374151;
    border: 1px solid #e5e7eb;
}
.eer-card__tag--more {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

.eer-card__foot { margin-top: auto; }
.eer-card__score-wrap {
    text-align: center;
    margin-bottom: 0.75rem;
}
.external-exam-result-card--compact .eer-card__score-wrap { margin-bottom: 0.375rem; }
.eer-card__score-label {
    margin: 0 0 0.125rem;
    color: #4b5563;
    font-size: 0.75rem;
}
@media (min-width: 768px) {
    .eer-card:not(.external-exam-result-card--compact) .eer-card__score-label { font-size: 0.875rem; }
}
.external-exam-result-card--compact .eer-card__score-label { font-size: 10px; }

.eer-card__score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}
@media (min-width: 768px) {
    .eer-card:not(.external-exam-result-card--compact) .eer-card__score { font-size: 1rem; }
}
.external-exam-result-card--compact .eer-card__score {
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
}
.eer-card__score-num { font-weight: 700; }
.eer-card:not(.external-exam-result-card--compact) .eer-card__score-num { font-size: 1.125rem; }
@media (min-width: 768px) {
    .eer-card:not(.external-exam-result-card--compact) .eer-card__score-num { font-size: 1.25rem; }
}
.external-exam-result-card--compact .eer-card__score-num { font-size: 0.875rem; }
.eer-card__score-max {
    margin-left: 0.25rem;
    opacity: 0.75;
    font-size: 0.875rem;
}
.external-exam-result-card--compact .eer-card__score-max { font-size: 10px; }
.eer-card__pct {
    margin: 0.125rem 0 0;
    color: #6b7280;
    font-size: 0.75rem;
}
.external-exam-result-card--compact .eer-card__pct { font-size: 10px; }

.eer-card__score--first {
    background: linear-gradient(to right, #fbbf24, #eab308);
    color: #78350f;
    box-shadow: 0 4px 6px -1px rgb(253 230 138 / 0.7);
}
.eer-card__score--second {
    background: linear-gradient(to right, #cbd5e1, #9ca3af);
    color: #0f172a;
    box-shadow: 0 4px 6px -1px rgb(203 213 225 / 0.8);
}
.eer-card__score--third {
    background: linear-gradient(to right, #fb923c, #d97706);
    color: #7c2d12;
    box-shadow: 0 4px 6px -1px rgb(254 215 170 / 0.8);
}
.eer-card__score--top {
    background: linear-gradient(to right, #a78bfa, #6366f1);
    color: #fff;
    box-shadow: 0 4px 6px -1px rgb(221 214 254 / 0.8);
}
.eer-card__score--excellent {
    background: linear-gradient(to right, #34d399, #22c55e);
    color: #064e3b;
    box-shadow: 0 4px 6px -1px rgb(167 243 208 / 0.8);
}
.eer-card__score--high {
    background: linear-gradient(to right, #60a5fa, #3b82f6);
    color: #1e3a8a;
    box-shadow: 0 4px 6px -1px rgb(191 219 254 / 0.8);
}
.eer-card__score--good {
    background: linear-gradient(to right, #34d399, #10b981);
    color: #064e3b;
    box-shadow: 0 4px 6px -1px rgb(167 243 208 / 0.8);
}
.eer-card__score--passed {
    background: linear-gradient(to right, #2dd4bf, #14b8a6);
    color: #134e4a;
    box-shadow: 0 4px 6px -1px rgb(153 246 228 / 0.8);
}
.eer-card__score--failed {
    background: linear-gradient(to right, #f87171, #ef4444);
    color: #7f1d1d;
    box-shadow: 0 4px 6px -1px rgb(254 202 202 / 0.8);
}
.eer-card__score--normal {
    background: linear-gradient(to right, #38bdf8, #3b82f6);
    color: #fff;
    box-shadow: 0 4px 6px -1px rgb(186 230 253 / 0.8);
}

.eer-card__cta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-align: center;
    background: #283571;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: background-color 0.2s ease;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    min-height: 44px;
}
.eer-card__cta:hover { background: #1A2248; color: #fff; }
.eer-card__cta:focus { outline: none; }
.eer-card__cta:focus-visible {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #00AEEF;
}
.external-exam-result-card--compact .eer-card__cta {
    padding: 0.375rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 11px;
    min-height: 40px;
}
.eer-card__cta-icon {
    display: inline;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
}
.external-exam-result-card--compact .eer-card__cta-icon {
    width: 0.875rem;
    height: 0.875rem;
}

.eer-hero-fill {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.eer-hero-fill__blob {
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
}
.eer-hero-fill__blob--tr {
    right: -1.5rem;
    top: -2rem;
    width: 7rem;
    height: 7rem;
    background: rgb(255 255 255 / 0.1);
}
.eer-hero-fill__blob--bl {
    left: -1rem;
    bottom: -2rem;
    width: 6rem;
    height: 6rem;
    background: rgb(255 255 255 / 0.05);
}
@media (min-width: 768px) {
    .eer-hero-fill__blob--tr { width: 9rem; height: 9rem; }
    .eer-hero-fill__blob--bl { width: 8rem; height: 8rem; }
}
.eer-hero-fill__dots {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    pointer-events: none;
    background-image: radial-gradient(circle at 20% 30%, #fff 1px, transparent 1px);
    background-size: 14px 14px;
}
.eer-hero-fill__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.15);
    border: 1px solid rgb(255 255 255 / 0.3);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    color: #fff;
}
.eer-hero-fill__icon svg { color: #fff; }
.eer-hero-fill--dense .eer-hero-fill__icon { width: 4rem; height: 4rem; }
.eer-hero-fill--dense .eer-hero-fill__icon svg { width: 2rem; height: 2rem; }
@media (min-width: 640px) {
    .eer-hero-fill--dense .eer-hero-fill__icon { width: 5rem; height: 5rem; }
}
.eer-hero-fill:not(.eer-hero-fill--dense) .eer-hero-fill__icon { width: 5rem; height: 5rem; }
.eer-hero-fill:not(.eer-hero-fill--dense) .eer-hero-fill__icon svg { width: 2.5rem; height: 2.5rem; }
@media (min-width: 768px) {
    .eer-hero-fill:not(.eer-hero-fill--dense) .eer-hero-fill__icon { width: 6rem; height: 6rem; }
}
