/* filename: static/css/style.css (FINAL, CLEANED, and FIXED VERSION) */

/* --- General and Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/*
============================================================
  🚀 شروع بخش اصلی اصلاحات برای رفع مشکل اسکرول 🚀
============================================================
*/

html {
    /* 
      تغییر اصلی ۱: جلوگیری قاطع از اسکرول افقی در کل سایت.
      این قانون به مرورگر می‌گوید هرچیزی که از عرض صفحه بیرون بزند را پنهان کن.
    */
    overflow-x: hidden;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #1a1a2e;
    color: #f0f0f0;
    min-height: 100vh;
    
    /* 
      تغییر اصلی ۲: جایگزینی overflow: hidden با این دو خط.
      این به مرورگر اجازه می‌دهد در صورت نیاز (مثل صفحه داشبورد) اسکرول عمودی را نشان دهد.
    */
    overflow-y: auto;
    overflow-x: hidden; /* برای اطمینان بیشتر */

    /* 
      این سه خط برای وسط‌چین کردن فرم‌های ورود و ثبت‌نام عالی هستند،
      اما برای داشبورد که از بالا شروع می‌شود، مشکل ایجاد می‌کنند.
      با این حال، چون کانتینر داشبورد استایل‌های خاص خود را دارد، فعلاً نگهشان می‌داریم.
    */
    display: flex;
    justify-content: center;
    align-items: center;
}

/*
============================================================
  🎉 پایان بخش اصلی اصلاحات 🎉
============================================================
*/


/* --- Animated Background --- */
.background-shapes {
    position: fixed; /* تغییر از absolute به fixed تا با اسکرول حرکت نکند */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden; /* خود پس‌زمینه نباید اسکرول داشته باشد */
}
.background-shapes::before, .background-shapes::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}
.background-shapes::before {
    width: 350px; height: 350px;
    background: linear-gradient(45deg, #ff8c00, #ff0055);
    top: -10%; left: -10%;
    animation: move 40s infinite alternate ease-in-out;
}
.background-shapes::after {
    width: 450px; height: 450px;
    background: linear-gradient(45deg, #8a2be2, #4169e1);
    bottom: -15%; right: -15%;
    animation: move2 35s infinite alternate ease-in-out;
    animation-delay: -5s;
}
@keyframes move {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(200px, 100px) rotate(180deg) scale(1.1); }
    100% { transform: translate(-50px, -150px) rotate(360deg) scale(1); }
}
@keyframes move2 {
    0% { transform: translate(0, 0) rotate(0deg) scale(1.2); }
    50% { transform: translate(-150px, 50px) rotate(-200deg) scale(1); }
    100% { transform: translate(100px, -50px) rotate(0deg) scale(1.2); }
}


/* --- Auth Page Styles (Login/Register) --- */
.glass-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    text-align: center;
}
.register-container { max-width: 450px; }
.glass-container h2 { margin-bottom: 25px; font-weight: 700; }

.input-group { position: relative; margin-bottom: 30px; }
.input-group input {
    width: 100%; padding: 10px 0;
    background: transparent; border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff; font-size: 16px;
    outline: none; transition: border-color 0.3s;
}
.input-group input[readonly] { cursor: pointer; }
.input-group label {
    position: absolute; top: 10px; right: 0;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    transition: all 0.3s ease;
}
.input-group input:focus + label,
.input-group input:valid + label,
.input-group input:not(:placeholder-shown) + label {
    top: -15px; font-size: 12px; color: #ff8c00;
}
.input-group input:focus, .input-group input:valid {
    border-bottom-color: #ff8c00;
}

.auth-button {
    width: 100%; padding: 12px;
    border: none; border-radius: 10px;
    background: linear-gradient(45deg, #ff8c00, #ff5722);
    color: #fff; font-size: 18px; font-weight: bold;
    cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}
.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.6);
}
.switch-form { margin-top: 20px; font-size: 14px; }
.switch-form a { color: #ff8c00; text-decoration: none; font-weight: bold; transition: color 0.3s; }
.switch-form a:hover { color: #ffa500; }

/* --- Flash Messages --- */
.flash-message {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    width: 100%; /* For dashboard layout */
    max-width: 900px;
    box-sizing: border-box;
}
.flash-message.error { background-color: rgba(220, 20, 60, 0.7); border: 1px solid rgba(220, 20, 60, 1); }
.flash-message.success { background-color: rgba(46, 204, 113, 0.7); border: 1px solid rgba(46, 204, 113, 1); }


/* ===== Dashboard Styles ===== */
.dashboard-container {
    width: 100%;
    max-width: 900px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    /* این باعث می‌شود که محتوای داشبورد بالاتر از پس‌زمینه قرار بگیرد */
    z-index: 1;
    /* این باعث می‌شود که داشبورد به جای وسط صفحه، از بالا شروع شود */
    margin-top: auto;
    margin-bottom: auto;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.welcome-card {
    text-align: center;
    padding: 30px 20px;
}
.welcome-card h2 {
    margin-bottom: 10px;
    color: #ff8c00;
}
.welcome-card p {
    color: rgba(255, 255, 255, 0.8);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.info-card h3 {
    margin-bottom: 20px;
    border-bottom: 2px solid #ff8c00;
    padding-bottom: 10px;
}

.stats-container { display: flex; flex-direction: column; gap: 15px; }
.stat-item { display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.stat-value { font-weight: bold; font-size: 18px; color: #2ecc71; }
.stat-value.warning { color: #ff5722; }

.active-reservation p { margin-bottom: 10px; line-height: 1.7; }
.active-reservation strong { color: rgba(255,255,255,0.85); }
.active-reservation span {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background: rgba(138, 43, 226, 0.3);
    border: 1px solid rgba(138, 43, 226, 0.7);
    border-radius: 8px;
    font-size: 14px;
}

.reserve-btn {
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 15px;
    background: linear-gradient(45deg, #ff8c00, #ff5722);
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    color: white;
    font-family: 'Vazirmatn', sans-serif;
}
.reserve-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 25px rgba(255, 140, 0, 0.7);
}

.info-card.clickable { cursor: pointer; transition: background-color 0.3s; }
.info-card.clickable:hover { background: rgba(255, 255, 255, 0.15); }
.card-description { color: rgba(255, 255, 255, 0.8); line-height: 1.6; }

.ticket-list { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.ticket-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 15px; background: rgba(0,0,0,0.2); border-radius: 8px;
    transition: transform 0.2s;
}
.ticket-item:hover { transform: translateX(-5px); }

.ticket-title { font-weight: 500; }
.ticket-status {
    padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: bold;
    text-transform: uppercase;
}
.ticket-item.open .ticket-status { background-color: #f39c12; color: #1a1a2e; }
.ticket-item.answered .ticket-status { background-color: #2ecc71; color: #1a1a2e; }
.ticket-item.closed .ticket-status { background-color: #95a5a6; color: #1a1a2e; }


/* ===== Modal and Datepicker Styles ===== */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 5, 20, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex; justify-content: center; align-items: center;
    z-index: 1000;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px; /* برای جلوگیری از چسبیدن مودال به لبه‌ها در موبایل */
}
.modal-overlay.visible { opacity: 1; visibility: visible; }

.modal-content {
    /* این یک glass-card است که برای مودال‌ها استفاده می‌شود */
    background: rgba(35, 35, 60, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    padding: 25px;
    width: 100%;
    max-width: 450px;
    text-align: right; /* RTL */
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.modal-overlay.visible .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-content.wide { max-width: 650px; }
.modal-content h3 { margin-bottom: 25px; color: #ff8c00; text-align: center; }
.modal-content .input-group { margin-bottom: 20px; }

.modal-content .input-group label {
    display: block;
    margin-bottom: 8px;
    text-align: right;
    color: rgba(255, 255, 255, 0.8);
    position: static;
    transform: none;
    font-size: 14px;
}
.modal-content .input-group input,
.modal-content .input-group select,
.modal-content .input-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
    transition: all 0.2s;
}
.modal-content .input-group input:focus,
.modal-content .input-group select:focus,
.modal-content .input-group textarea:focus {
    outline: none;
    border-color: #ff8c00;
    background: rgba(0,0,0,0.4);
}
.modal-content .input-group input[readonly] {
    cursor: pointer;
    background-color: rgba(0,0,0,0.3) !important;
}
.modal-content .input-group input[readonly].valid {
    border-color: #2ecc71; /* سبز شدن بعد از انتخاب تاریخ */
}

.modal-content .input-group textarea { resize: vertical; }
.modal-content button { margin-top: 10px; width: 100%; }


/* --- Slider Styles for Reservation Modal --- */
.slider-container {
    display: flex;
    gap: 10px;
    padding: 10px 5px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: #ff8c00 #1a1a2e;
    scrollbar-width: thin;
}
.slider-container::-webkit-scrollbar { height: 5px; }
.slider-container::-webkit-scrollbar-track { background: transparent; }
.slider-container::-webkit-scrollbar-thumb { background: rgba(255, 140, 0, 0.5); border-radius: 10px; }
.slider-container::-webkit-scrollbar-thumb:hover { background: #ff8c00; }

.slider-option { flex-shrink: 0; cursor: pointer; }
.slider-option input[type="radio"] { display: none; }

.slider-content {
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    color: #f0f0f0;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 150px;
}
.slider-option:hover .slider-content {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 140, 0, 0.6);
}
.slider-option input[type="radio"]:checked + .slider-content {
    background: linear-gradient(45deg, #ff8c00, #ff5722);
    border-color: #ff8c00;
    color: #fff;
    font-weight: bold;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
}
.equipment-slider .slider-content { display: flex; flex-direction: column; gap: 5px; min-width: 220px; }
.equipment-option-name { font-size: 16px; font-weight: bold; }
.equipment-option-desc { font-size: 12px; color: rgba(255, 255, 255, 0.7); transition: color 0.3s; }
.slider-option input[type="radio"]:checked + .equipment-content .equipment-option-desc {
    color: rgba(255, 255, 255, 0.9);
}


/* --- Custom Datepicker Styles --- */
.custom-datepicker {
    width: 320px;
    padding: 20px;
    /* ... بقیه استایل‌های مودال/کارت شیشه‌ای را به ارث می‌برد ... */
}
.cd-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.cd-arrow {
    background: transparent; border: none; color: #ff8c00;
    font-size: 24px; font-weight: bold;
    cursor: pointer; padding: 0 10px;
    border-radius: 50%;
    transition: background-color 0.2s;
}
.cd-arrow:hover { background-color: rgba(255, 140, 0, 0.2); }

.cd-month-year-selects { display: flex; gap: 10px; flex-grow: 1; justify-content: center; }
.select-wrapper { position: relative; }
.select-wrapper::after {
    content: '▾';
    position: absolute; top: 50%; left: 10px;
    transform: translateY(-50%);
    font-size: 16px; color: #ff8c00; pointer-events: none;
}
.cd-month-year-selects select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 15px 8px 30px;
    color: #f0f0f0;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px; font-weight: bold;
    cursor: pointer; transition: all 0.2s ease; direction: rtl;
}
.cd-month-year-selects select:hover { background-color: rgba(255, 255, 255, 0.2); }
.cd-month-year-selects select:focus {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}
.cd-month-year-selects select option { background-color: #2c2c54; color: #f0f0f0; }

.cd-weekdays, .cd-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.cd-weekdays { margin-bottom: 10px; font-weight: bold; color: #ff8c00; }
.cd-weekdays div { padding: 5px; }

.cd-day {
    height: 38px; line-height: 38px;
    cursor: pointer; border-radius: 50%;
    transition: all 0.2s ease;
    font-size: 14px;
}
.cd-day:not(.empty):hover { background: rgba(255, 255, 255, 0.15); transform: scale(1.1); }
.cd-day.today { border: 1px solid #8a2be2; font-weight: bold; }
.cd-day.selected {
    background: linear-gradient(45deg, #ff8c00, #ff5722);
    color: #1a1a2e;
    font-weight: bold;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.5);
}

/* filename: static/css/style.css (کدهای جدید برای افزودن به انتهای فایل) */

/* === استایل‌های بخش آزمون آنلاین (کارآموز) === */

/* --- صفحه لیست آزمون‌ها (trainee_exams.html) --- */
.exam-list-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.exam-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.exam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.exam-card-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #ff9900; /* رنگ نارنجی اصلی شما */
}

.exam-card-body {
    margin: 15px 0;
    color: rgba(255, 255, 255, 0.85);
    flex-grow: 1;
}

.exam-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    flex-wrap: wrap;
    gap: 15px;
}

.exam-details {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* --- صفحه لابی آزمون (exam_lobby.html) --- */

.lobby-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 20px;
}

/* در صفحه نمایش‌های بزرگتر، دو ستونه شود */
@media (min-width: 992px) {
    .lobby-grid {
        grid-template-columns: 1fr 1.2fr; /* ستون کناری کمی بزرگتر */
    }
}

.lobby-main-col, .lobby-side-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.exam-details-lobby {
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exam-details-lobby div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.start-exam-btn {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 1.2rem;
    background-color: #ff9900; /* رنگ نارنجی اصلی */
    color: #1a1a2e;
    font-weight: bold;
}
.start-exam-btn:hover {
    background-color: #ffb84d;
}

.user-rank-card {
    background: linear-gradient(145deg, rgba(0, 188, 212, 0.15), rgba(0, 188, 212, 0.08));
    border-color: #00bcd4;
}

.user-rank-card h3 {
    color: #80deea;
}

.user-rank-details {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 20px 0;
}

.user-rank-details .label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.user-rank-details .value {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
}
.user-rank-card .info-text {
    font-size: 0.85rem;
    text-align: center;
    opacity: 0.7;
    margin-top: 15px;
}

.leaderboard-card {
    padding-bottom: 10px; /* برای جلوگیری از چسبیدن جدول به لبه */
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.leaderboard-table th, .leaderboard-table td {
    padding: 12px 15px;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-table th {
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9);
}

.leaderboard-table tbody tr:last-child td {
    border-bottom: none;
}

.leaderboard-table tbody tr:nth-child(1) { background-color: rgba(255, 215, 0, 0.15); } /* Gold */
.leaderboard-table tbody tr:nth-child(2) { background-color: rgba(192, 192, 192, 0.15); } /* Silver */
.leaderboard-table tbody tr:nth-child(3) { background-color: rgba(205, 127, 50, 0.15); } /* Bronze */

.leaderboard-table td:nth-child(1) { font-weight: bold; color: #ffc966; } /* رتبه */

/* filename: static/css/style.css (کدهای جدید برای افزودن به انتهای فایل) */

/* === استایل‌های رابط کاربری آزمون (exam_interface.html) === */
.exam-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 15px;
}

.exam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    padding: 15px 20px;
    background: rgba(40, 42, 58, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
}
.exam-header h3 { margin: 0; font-size: 1.3rem; }

#timer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0,0,0,0.3);
    padding: 5px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}
#timer-container.urgent { background-color: #c0392b; }
#timer { font-size: 1.5rem; font-weight: bold; letter-spacing: 2px; }
#timer-container span:last-child { font-size: 0.8rem; opacity: 0.7; }

.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}
.progress-bar {
    width: 0%;
    height: 100%;
    background-color: #00bcd4;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.question-area { padding: 25px; min-height: 250px;}
.question-title { margin-top: 0; margin-bottom: 25px; font-size: 1.2rem; line-height: 1.7; color: #fff;}

.options-container { display: flex; flex-direction: column; gap: 15px; }
.option-label {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.option-label:hover { background: rgba(255, 255, 255, 0.1); border-color: #00bcd4; }
.option-label input[type="radio"] { margin-left: 15px; width: 18px; height: 18px; }
.option-label input[type="radio"]:checked + span { color: #ff9900; } /* این برای استایل بیشتره، فعلا ساده نگهش میداریم */

.exam-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.nav-btn {
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}
.nav-btn:hover:not(:disabled) { background-color: #00bcd4; color: #1a1a2e; border-color: #00bcd4; }
.nav-btn:disabled { opacity: 0.4; cursor: not-allowed; }
#question-counter { color: #ccc; font-weight: bold; }

.finish-exam-btn {
    width: 100%;
    margin-top: 25px;
    padding: 15px;
    background-color: #e74c3c;
    font-size: 1.1rem;
}
.finish-exam-btn:hover { background-color: #c0392b; }

/* === استایل‌های صفحه کارنامه (exam_result.html) === */
.result-card { text-align: center; padding: 40px; }
.result-card h2 { color: #ff9900; }
.result-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}
.result-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 160px;
    border-radius: 50%;
}
.result-item .value { font-size: 3rem; font-weight: bold; line-height: 1; }
.result-item .label { font-size: 0.9rem; opacity: 0.8; margin-top: 5px; }

.score-circle { border: 8px solid #00bcd4; }
.rank-circle { border: 8px solid #ffc966; }

.result-actions { display: flex; justify-content: center; gap: 20px; margin-top: 20px; }
.result-actions .secondary-btn {
    background-color: transparent;
    border: 1px solid #00bcd4;
    color: #00bcd4;
}
.result-actions .secondary-btn:hover { background-color: #00bcd4; color: #1a1a2e; }
