
@font-face {
    font-family: "naz";
    src: url("../fonts/bnazanin.eot") format("eot"),
    url("../fonts//bnazanin.woff") format("woff"),
    url("../fonts//bnazanin.ttf") format("truetype");
  }


  @keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.light-style .user-profile-header .user-profile-img{
    border-radius: 200px !important;
    width: 220px !important;
    height: 220px !important;
}


/* استایل نوتیفیکیشن طلایی با پالس */
.nav-coach-note {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a2e;
    font-size: 10px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 50px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    border: 2px solid #fff;
    z-index: 10;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
}

/* افکت پالس طلایی */
.pulse-gold {
    animation: pulseGold 1.5s ease-in-out infinite;
}

@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
        transform: scale(1);
    }
}

/* پالس بیرونی دوم (حلقه‌های متعدد) */
.pulse-gold::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    animation: pulseGoldRing 1.0s ease-in-out infinite;
}

@keyframes pulseGoldRing {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* استایل برای زمانی که badge خالی نباشد */
.notification-badge:not(:empty) {
    display: flex;
}

/* نسخه موبایل - بزرگتر کردن برای لمس بهتر */
@media (max-width: 576px) {
    .notification-badge {
        top: -6px;
        right: 36px;
        font-size: 9px;
        padding: 2px 7px;
        min-width: 18px;
        height: 18px;
    }
}

/* افکت ورود badge با انیمیشن کشسان */
.notification-badge {
    animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards, pulseGold 1.5s ease-in-out infinite 0.5s;
    opacity: 0;
    transform: scale(0);
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    80% {
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

  #onlineClassModal h5{
    font-size: 16px;
    margin-bottom: 18px;
  }

  #onlineClassModal .modal-body{
    margin-bottom: 30px;
  }
  #onlineClassModal .hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    
}

#onlineClassModal .hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
}

#onlineClassModal .hover-card .card-body {
    padding: 1.75rem 1rem;
}

.datepicker-plot-area{
    font-family: 'primary-font';
}  

.datepicker-plot-area .datepicker-navigator .pwt-btn-switch{
    color: #1818ae;
}



.login-page .authentication-bg{
    background-color:rgb(0, 0, 0) !important;
}


.login-page img{
    width: 100% !important;
}


.reg-page .authentication-bg{
    background-color:rgb(0, 0, 0) !important;
}


.reg-page img{
    width: 100% !important;
}



.athlete-add-page{
    display: flex;
    justify-content: center;
    align-items: center;
}

.athlete-add-page .personal-section{
    background-color: rgb(42, 35, 231);
    border-radius: 10px;
}

.athlete-add-page .personal-section h3{
    text-align: center;
    color: #fff;
}

.athlete-add-page .box-section{
    background-color: rgb(231, 35, 58);
    border-radius: 10px;
}

.athlete-add-page .box-section h3{
    text-align: center;
    color: #fff;
}


.athlete-add-page .fitness-section{
    background-color: rgb(49, 198, 111);
    border-radius: 10px;
}

.athlete-add-page .fitness-section h3{
    text-align: center;
    color: #fff;
}




.athlete-add-page .score-section{
    background-color: rgb(49, 176, 198);
    border-radius: 10px;
}

.athlete-add-page .score-section h3{
    text-align: center;
    color: #fff;
}






.athlete-manage-page .td-ltr{
    direction: ltr;
}

























/* ATHLETE DETAILS PAGE */

/* ===== انیمیشن‌های عمومی ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.6);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== کلاس‌های انیمیشن ===== */
.athlete-details-page .animate-fade-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.athlete-details-page .animate-fade-down {
    opacity: 0;
    animation: fadeInDown 0.8s ease-out forwards;
}

.athlete-details-page .animate-fade-left {
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.athlete-details-page .animate-fade-right {
    opacity: 0;
    animation: fadeInRight 0.8s ease-out forwards;
}

.athlete-details-page .animate-scale {
    opacity: 0;
    animation: scaleIn 0.8s ease-out forwards;
}

.athlete-details-page .animate-slide-up {
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

/* ===== تاخیرهای انیمیشن ===== */
.athlete-details-page .delay-1 {
    animation-delay: 0.1s;
}

.athlete-details-page .delay-2 {
    animation-delay: 0.2s;
}

.athlete-details-page .delay-3 {
    animation-delay: 0.3s;
}

.athlete-details-page .delay-4 {
    animation-delay: 0.4s;
}

.athlete-details-page .delay-5 {
    animation-delay: 0.5s;
}

.athlete-details-page .delay-6 {
    animation-delay: 0.6s;
}

.athlete-details-page .delay-7 {
    animation-delay: 0.7s;
}

.athlete-details-page .delay-8 {
    animation-delay: 0.8s;
}

/* ===== استایل پروفایل ===== */
.athlete-details-page .user-profile-header-banner {
    /* position: relative; */
    overflow: hidden;
}

.athlete-details-page .user-profile-header-banner img {
    transition: transform 0.8s ease;
    width: 100%;
}

.athlete-details-page .user-profile-header-banner:hover img {
    transform: scale(1.03);
}

.athlete-details-page .user-profile-img {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.athlete-details-page .user-profile-img:hover {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.athlete-details-page .user-profile-header {
    animation: fadeInUp 0.8s ease-out;
}

.athlete-details-page .status-badge {
    animation: pulse 2s ease-in-out infinite;
}

/* ===== استوانه‌های امتیاز ===== */
.athlete-details-page .score-card {
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    overflow: hidden;
}

.athlete-details-page .score-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.athlete-details-page .score-cylinder-wrapper {
    position: relative;
    padding: 15px 0;
}

.athlete-details-page .score-cylinder {
    width: 100%;
    max-width: 130px;
    height: 220px;
    background: #f1f3f5;
    border-radius: 70px 70px 25px 25px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: inset 0 -5px 15px rgba(0, 0, 0, 0.08), 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.athlete-details-page .score-cylinder:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.athlete-details-page .score-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 70px 70px 25px 25px;
    transition: height 2.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 0%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.athlete-details-page .score-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 100%);
    border-radius: 70px 70px 50% 50%;
}

.athlete-details-page .score-fill::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.15) 0%, transparent 100%);
    border-radius: 0 0 25px 25px;
}

.athlete-details-page .score-text {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    z-index: 2;
    letter-spacing: 1px;
}

.athlete-details-page .score-label {
    font-size: 14px;
    color: #6c757d;
    margin-top: 12px;
    display: block;
    font-weight: 500;
}

/* ===== رنگ‌های استوانه‌ها ===== */
.athlete-details-page .total-fill {
    background: linear-gradient(180deg, #6f42c1, #4a2c7a);
}

.athlete-details-page .total-fill:hover {
    background: linear-gradient(180deg, #7b4fc7, #553388);
}

.athlete-details-page .boxing-fill {
    background: linear-gradient(180deg, #dc3545, #8b1a2b);
}

.athlete-details-page .boxing-fill:hover {
    background: linear-gradient(180deg, #e74c5e, #9e1f32);
}

.athlete-details-page .fitness-fill {
    background: linear-gradient(180deg, #198754, #0d5e3a);
}

.athlete-details-page .fitness-fill:hover {
    background: linear-gradient(180deg, #1fa05f, #107043);
}

/* ===== کارت اطلاعات کاربر ===== */
.athlete-details-page .info-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.athlete-details-page .info-card:hover {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.athlete-details-page .info-card .list-unstyled li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f5;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.athlete-details-page .info-card .list-unstyled li:hover {
    background: #f8f9fa;
    padding-right: 15px;
    padding-left: 15px;
}

.athlete-details-page .info-card .list-unstyled li i {
    font-size: 18px;
    color: #667eea;
    margin-left: 10px;
    width: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.athlete-details-page .info-card .list-unstyled li:hover i {
    transform: scale(1.2);
    color: #764ba2;
}

/* ===== بخش Development ===== */
.athlete-details-page .dev-section-wrapper {
    margin-top: 10px;
}

.athlete-details-page .dev-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 25px 30px;
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.25);
    transition: all 0.3s ease;
}

.athlete-details-page .dev-header:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.35);
}

.athlete-details-page .dev-header.boxing-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.25);
}

.athlete-details-page .dev-header.boxing-header:hover {
    box-shadow: 0 15px 40px rgba(245, 87, 108, 0.35);
}

.athlete-details-page .dev-header.fitness-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.25);
}

.athlete-details-page .dev-header.fitness-header:hover {
    box-shadow: 0 15px 40px rgba(79, 172, 254, 0.35);
}

.athlete-details-page .dev-header::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.athlete-details-page .dev-header::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.athlete-details-page .dev-header h3 {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 2;
}

.athlete-details-page .dev-header .subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin: 5px 0 0;
    position: relative;
    z-index: 2;
}

.athlete-details-page .dev-score-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    margin-top: 8px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s ease-in-out infinite;
}




/* ===== نمودار دایره‌ای ===== */
.athlete-details-page .circular-chart {
    width: 90px;
    height: 90px;
    position: relative;
}

.athlete-details-page .circular-chart .circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 6;
}

.athlete-details-page .circular-chart .circle-progress {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dasharray 2s ease-in-out;
}

.athlete-details-page .circular-chart text {
    font-size: 9px;
    font-weight: 700;
}

/* ===== آکاردئون Development ===== */
.athlete-details-page .dev-accordion .accordion-item {
    border: none;
    background: transparent;
    margin-bottom: 12px;
    border-radius: 15px !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.athlete-details-page .dev-accordion .accordion-item:hover {
    transform: translateX(5px);
}

.athlete-details-page .dev-accordion .accordion-button {
    background: white;
    font-weight: 600;
    padding: 18px 25px;
    border-radius: 15px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.athlete-details-page .dev-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.04));
    color: #667eea;
    box-shadow: 0 5px 25px rgba(102, 126, 234, 0.15);
}

.athlete-details-page .dev-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.athlete-details-page .dev-accordion .accordion-button .icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.athlete-details-page .dev-accordion .accordion-button:hover .icon-wrapper {
    transform: scale(1.15) rotate(10deg);
}

.athlete-details-page .dev-accordion .accordion-body {
    padding: 25px;
    background: white;
    border-radius: 0 0 15px 15px;
    line-height: 2;
    color: #495057;
    font-size: 15px;
    border-top: 3px solid #f1f3f5;
}

.athlete-details-page .dev-accordion .badge {
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 50px;
}

/* ===== دکمه بازگشت ===== */
.athlete-details-page .back-button {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.athlete-details-page .back-button:hover {
    transform: translateX(-8px);
}

.athlete-details-page .back-button .btn {
    border-radius: 50px !important;
    padding: 12px 30px !important;
    transition: all 0.3s ease;
}

.athlete-details-page .back-button .btn:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== بخش آزمون‌ها ===== */
.athlete-details-page .tests-section {
    margin-top: 30px;
}

.athlete-details-page .tests-table-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.athlete-details-page .tests-table-wrapper .table {
    margin-bottom: 0;
}

.athlete-details-page .tests-table-wrapper .table thead th {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: 600;
    padding: 15px 20px;
    border: none;
}

.athlete-details-page .tests-table-wrapper .table tbody tr {
    transition: all 0.3s ease;
    cursor: default;
}

.athlete-details-page .tests-table-wrapper .table tbody tr:hover {
    background: #f8f9fa;
    transform: scale(1.01);
}

.athlete-details-page .tests-table-wrapper .table tbody td {
    padding: 14px 20px;
    vertical-align: middle;
    border-color: #f1f3f5;
}

/* ===== پاسخگو ===== */
@media (max-width: 768px) {
    .athlete-details-page .score-cylinder {
        max-width: 100px;
        height: 180px;
    }

    .athlete-details-page .score-text {
        font-size: 20px;
        bottom: 15px;
    }

    .athlete-details-page .dev-header {
        padding: 20px;
    }

    .athlete-details-page .dev-header h3 {
        font-size: 20px;
    }

    .athlete-details-page .circular-chart {
        width: 70px;
        height: 70px;
    }

    .athlete-details-page .user-profile-img {
        width: 90px;
        height: 90px;
    }

    .athlete-details-page .dev-score-badge {
        font-size: 15px;
        padding: 6px 16px;
    }
}

@media (max-width: 576px) {
    .athlete-details-page .score-cylinder {
        max-width: 80px;
        height: 150px;
    }

    .athlete-details-page .score-text {
        font-size: 17px;
        bottom: 12px;
    }

    .athlete-details-page .dev-header h3 {
        font-size: 17px;
    }

    .athlete-details-page .dev-header .subtitle {
        font-size: 12px;
    }
}


























/* ATHLETE WORKOUT PAGE */


/* استایل استوانه اسکور */
.athlete-workout-page .score-cylinder {
    width: 100%;
    max-width: 120px;
    height: 200px;
    background: #e9ecef;
    border-radius: 60px 60px 20px 20px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.athlete-workout-page .score-cylinder:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.athlete-workout-page .score-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, #0d6efd, #0a58ca);
    border-radius: 60px 60px 20px 20px;
    transition: height 2s ease-in-out;
    height: 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

/* رنگ‌های متفاوت برای هر بخش */
.athlete-workout-page .boxing-fill {
    background: linear-gradient(180deg, #dc3545, #b02a37);
}

.athlete-workout-page .fitness-fill {
    background: linear-gradient(180deg, #198754, #157347);
}

.athlete-workout-page .total-fill {
    background: linear-gradient(180deg, #6f42c1, #5a32a3);
}

/* انیمیشن ورود کارت‌ها */
.athlete-workout-page .card-animate {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.athlete-workout-page .card-animate:nth-child(1) {
    animation-delay: 0.1s;
}

.athlete-workout-page .card-animate:nth-child(2) {
    animation-delay: 0.3s;
}

.athlete-workout-page .card-animate:nth-child(3) {
    animation-delay: 0.5s;
}

/* متن داخل استوانه */
.athlete-workout-page .score-text {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    z-index: 2;
}



/* ===== استایل‌های بخش Development ===== */

/* کارت‌های توسعه با انیمیشن */
.athlete-workout-page .dev-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: devCardIn 0.8s forwards;
}

.athlete-workout-page .dev-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

@keyframes devCardIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.athlete-workout-page .dev-card:nth-child(1) {
    animation-delay: 0.2s;
}

.athlete-workout-page .dev-card:nth-child(2) {
    animation-delay: 0.4s;
}

.athlete-workout-page .dev-card:nth-child(3) {
    animation-delay: 0.6s;
}

/* هدر بخش توسعه */
.athlete-workout-page .dev-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px;
    color: white;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    transform: translateX(-30px);
    opacity: 0;
    animation: slideInRight 0.6s forwards;
}

.athlete-workout-page .dev-header.boxing-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.athlete-workout-page .dev-header.fitness-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.athlete-workout-page .dev-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatBubble 6s ease-in-out infinite;
}

@keyframes floatBubble {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

.athlete-workout-page .dev-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 2;
}

.athlete-workout-page .dev-header .subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin: 5px 0 0;
    position: relative;
    z-index: 2;
}

/* آکاردئون با انیمیشن */
.athlete-workout-page .dev-accordion .accordion-item {
    border: none;
    background: #f8f9fa;
    border-radius: 15px !important;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.athlete-workout-page .dev-accordion .accordion-item:hover {
    background: #f1f3f5;
}

.athlete-workout-page .dev-accordion .accordion-button {
    background: transparent;
    font-weight: 600;
    padding: 18px 20px;
    border-radius: 15px !important;
    transition: all 0.3s ease;
}

.athlete-workout-page .dev-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.05));
    color: #667eea;
    box-shadow: none;
}

.athlete-workout-page .dev-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.athlete-workout-page .dev-accordion .accordion-button::after {
    transition: all 0.3s ease;
}

.athlete-workout-page .dev-accordion .accordion-body {
    padding: 20px;
    background: white;
    border-radius: 0 0 15px 15px;
    line-height: 1.8;
    color: #495057;
    font-size: 15px;
}

/* آیکون‌های داخل آکاردئون */
.athlete-workout-page .dev-accordion .accordion-button .icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    font-size: 18px;
}

.athlete-workout-page .icon-strength {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.athlete-workout-page .icon-weakness {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.athlete-workout-page .icon-goals {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

/* نشانگر امتیاز در هدر */
.athlete-workout-page .dev-score-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    margin-top: 8px;
    position: relative;
    z-index: 2;
    animation: pulseBadge 2s ease-in-out infinite;
}

.athlete-workout-page .dev-ready-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
    position: relative;
    z-index: 2;
    animation: pulseBadge 2s ease-in-out infinite;
}

.athlete-details-page .dev-ready-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
    position: relative;
    z-index: 2;
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* بخش امتیاز با نمودار دایره‌ای */
.athlete-workout-page .circular-chart {
    width: 80px;
    height: 80px;
    position: relative;
}

.athlete-workout-page .circular-chart .circle-bg {
    fill: none;
    stroke: #e9ecef;
    stroke-width: 6;
}

.athlete-workout-page .circular-chart .circle-progress {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dasharray 1.5s ease-in-out;
}

/* پاسخگو برای موبایل */
@media (max-width: 768px) {
    .athlete-workout-page .dev-header h3 {
        font-size: 20px;
        color: #000000;
    }

    .athlete-workout-page .dev-accordion .accordion-button {
        font-size: 14px;
        padding: 14px 16px;
    }
}






/* ===== کانتینر اصلی ===== */
.athlete-workout-page .athlete-score-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px 0;
    width: 100%;
}

/* ===== ردیف‌ها ===== */
.athlete-workout-page .score-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 60px;
}

.athlete-workout-page .score-row.top-row {
    gap: 360px;
}

.athlete-workout-page .score-row.bottom-row {
    gap: 60px;
}

/* ===== آیتم‌ها ===== */
.athlete-workout-page .score-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
}

.athlete-workout-page .center-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== کانتینر گوی ===== */
.athlete-workout-page .ball-container {
    width: 130px;
    height: 130px;
    position: relative;
    border-radius: 50%;
    overflow: visible;
}
.athlete-workout-page .ball-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    font-family: Arial, Helvetica, sans-serif;
}

.athlete-workout-page .ball-label-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin-top: -2px;
    font-family: Arial, Helvetica, sans-serif;

}

.athlete-workout-page .ball-container.main-ball {
    width: 200px;
    height: 200px;
}

/* ===== گوی ===== */
.athlete-workout-page .ball {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #00000038;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 
                inset 0 -5px 15px rgba(0, 0, 0, 0.1),
                inset 0 5px 15px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.athlete-workout-page .ball:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ===== آب داخل گوی ===== */
    
.athlete-workout-page .ball-water {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(13, 110, 253, 0.7), rgba(10, 88, 202, 0.9));
    border-radius: 50% 50% 50% 50% / 0% 0% 50% 50%;
    transition: height 2.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ===== رنگ‌های مختلف آب ===== */
.athlete-workout-page .boxing-water {
    background: linear-gradient(180deg, rgba(220, 53, 69, 0.6), rgba(176, 42, 55, 0.9));
}

.athlete-workout-page .fitness-water {
    background: linear-gradient(180deg, #35C4FF, #97e0ff);
}

.athlete-workout-page .attendance-water {
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.7), rgba(184, 134, 11, 0.95));

    
}

.athlete-workout-page .total-water {
    background: linear-gradient(180deg, rgba(46, 204, 113, 0.7), rgba(27, 156, 82, 0.95)) !important;
}

/* ===== افکت موج روی آب ===== */
.athlete-workout-page .ball-water::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    width: 200%;
    height: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: wave 3s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% {
        transform: translateX(-25%) rotate(0deg);
    }
    50% {
        transform: translateX(25%) rotate(2deg);
    }
}

/* ===== درصد داخل گوی ===== */
.athlete-workout-page .ball-percent {
    position: relative;
    z-index: 2;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    bottom: 20px;
}

.athlete-workout-page .ball-label {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    font-weight: 500;
    font-family: Arial, Helvetica, sans-serif;
}

/* ===== انیمیشن ورود کارت‌ها ===== */
.athlete-workout-page .card-animate {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ریسپانسیو برای موبایل ===== */
@media (max-width: 768px) {
    .athlete-workout-page .score-row.top-row {
        gap: 30px;
    }
    
    .athlete-workout-page .score-row.bottom-row {
        gap: 30px;
    }
    
    .athlete-workout-page .ball-container {
        width: 100px;
        height: 100px;
    }
    
    .athlete-workout-page .ball-container.main-ball {
        width: 150px;
        height: 150px;
    }
    
    .athlete-workout-page .ball-percent {
        font-size: 1rem;
    }
    
    .athlete-workout-page .ball-container.main-ball .ball-percent {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .athlete-workout-page .score-row.top-row {
        gap: 115px;
    }
    
    .athlete-workout-page .score-row.bottom-row {
        gap: 15px;
    }
    
    .athlete-workout-page .athlete-score-wrapper {
        gap: 10px;
    }
    
    .athlete-workout-page .ball-container {
        width: 105px;
        height: 105px;
    }
    
    .athlete-workout-page .ball-container.main-ball {
        width: 150px;
        height: 150px;
    }
    
    .athlete-workout-page .ball-percent {
        font-size: 1.3rem;
    }
    
    .athlete-workout-page .ball-container.main-ball .ball-percent {
        font-size: 1.5rem;
        position: relative;
        bottom: 20px;
    }
    
    .athlete-workout-page .score-item h6 {
        font-size: 15px !important;
    }
    
    .athlete-workout-page .center-item h5 {
        font-size: 1.2rem !important;
    }
    
    .athlete-workout-page .center-item p {
        font-size: 10px !important;
    }
}

















/* ============================================
   athlete-profile-page.css
   استایل‌های صفحه پروفایل ورزشکار
   ============================================ */

/* ===== انیمیشن‌های عمومی ===== */
@keyframes athleteFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes athleteFadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes athleteScaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes athletePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes athleteSlideUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== کلاس‌های انیمیشن ===== */
.athlete-profile-page .animate-fade-up {
    opacity: 0;
    animation: athleteFadeInUp 0.8s ease-out forwards;
}

.athlete-profile-page .animate-fade-left {
    opacity: 0;
    animation: athleteFadeInLeft 0.8s ease-out forwards;
}

.athlete-profile-page .animate-scale {
    opacity: 0;
    animation: athleteScaleIn 0.8s ease-out forwards;
}

.athlete-profile-page .animate-slide-up {
    opacity: 0;
    animation: athleteSlideUp 0.8s ease-out forwards;
}

/* ===== تاخیرهای انیمیشن ===== */
.athlete-profile-page .delay-1 { animation-delay: 0.1s; }
.athlete-profile-page .delay-2 { animation-delay: 0.2s; }
.athlete-profile-page .delay-3 { animation-delay: 0.3s; }
.athlete-profile-page .delay-4 { animation-delay: 0.4s; }
.athlete-profile-page .delay-5 { animation-delay: 0.5s; }

/* ===== استایل پروفایل ===== */
.athlete-profile-page .user-profile-header-banner {
    /* position: relative; */
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.athlete-profile-page .user-profile-header-banner img {
    transition: transform 0.8s ease;
    width: 100%;
    display: block;
}

.athlete-profile-page .user-profile-header-banner:hover img {
    transform: scale(1.03);
}

.athlete-profile-page .user-profile-img {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 15px !important;
}

.athlete-profile-page .user-profile-img:hover {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.athlete-profile-page .user-profile-header {
    animation: athleteFadeInUp 0.8s ease-out;
    
}

.athlete-profile-page .user-profile-header .btn-primary {
    animation: athletePulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.athlete-profile-page .user-profile-header .btn-primary:hover {
    transform: scale(1.05);
}

/* ===== کارت اطلاعات کاربر ===== */
.athlete-profile-page .card.mb-4 {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.athlete-profile-page .card.mb-4:hover {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.athlete-profile-page .card.mb-4 .list-unstyled li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f5;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.athlete-profile-page .card.mb-4 .list-unstyled li:hover {
    background: #f8f9fa;
    padding-right: 15px;
    padding-left: 15px;
}

.athlete-profile-page .card.mb-4 .list-unstyled li i {
    font-size: 18px;
    color: #667eea;
    margin-left: 10px;
    width: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.athlete-profile-page .card.mb-4 .list-unstyled li:hover i {
    transform: scale(1.2);
    color: #764ba2;
}

.athlete-profile-page .card.mb-4 .text-muted {
    font-size: 13px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ===== استوانه‌های امتیاز ===== */
.athlete-profile-page .score-card {
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.athlete-profile-page .score-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.athlete-profile-page .score-card .card-header {
    border-bottom: none;
    padding-bottom: 0;
    background: transparent;
}

.athlete-profile-page .score-card .card-header h3 {
    font-size: 18px;
    color: #495057;
    font-weight: 600;
}

.athlete-profile-page .score-cylinder-wrapper {
    position: relative;
    padding: 15px 0 5px;
}

.athlete-profile-page .score-cylinder {
    width: 100%;
    max-width: 130px;
    height: 220px;
    background: #f1f3f5;
    border-radius: 70px 70px 25px 25px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: inset 0 -5px 15px rgba(0, 0, 0, 0.08), 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.athlete-profile-page .score-cylinder:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.athlete-profile-page .score-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 70px 70px 25px 25px;
    transition: height 2.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 0%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.athlete-profile-page .score-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 100%);
    border-radius: 70px 70px 50% 50%;
}

.athlete-profile-page .score-fill::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.15) 0%, transparent 100%);
    border-radius: 0 0 25px 25px;
}

.athlete-profile-page .score-text {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    z-index: 2;
    letter-spacing: 1px;
}

/* ===== رنگ‌های استوانه‌ها ===== */
.athlete-profile-page .total-fill {
    background: linear-gradient(180deg, #6f42c1, #4a2c7a);
}

.athlete-profile-page .total-fill:hover {
    background: linear-gradient(180deg, #7b4fc7, #553388);
}

.athlete-profile-page .boxing-fill {
    background: linear-gradient(180deg, #dc3545, #8b1a2b);
}

.athlete-profile-page .boxing-fill:hover {
    background: linear-gradient(180deg, #e74c5e, #9e1f32);
}

.athlete-profile-page .fitness-fill {
    background: linear-gradient(180deg, #198754, #0d5e3a);
}

.athlete-profile-page .fitness-fill:hover {
    background: linear-gradient(180deg, #1fa05f, #107043);
}

/* ===== دکمه بازگشت ===== */
.athlete-profile-page .text-start.mt-5 {
    animation: athleteFadeInUp 0.8s ease-out;
}

.athlete-profile-page .text-start.mt-5 .btn {
    border-radius: 50px !important;
    padding: 12px 30px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.athlete-profile-page .text-start.mt-5 .btn:hover {
    transform: translateX(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== هدر صفحه ===== */
.athlete-profile-page .d-flex .fw-bold {
    animation: athleteFadeInUp 0.6s ease-out;
}

/* ===== پاسخگو ===== */
@media (max-width: 992px) {
    .athlete-profile-page .score-card {
        min-width: 150px;
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .athlete-profile-page .score-card {
        min-width: 100%;
        flex: 1 1 100%;
    }

    .athlete-profile-page .score-cylinder {
        max-width: 100px;
        height: 180px;
    }

    .athlete-profile-page .score-text {
        font-size: 20px;
        bottom: 15px;
    }

    .athlete-profile-page .user-profile-img {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 576px) {
    .athlete-profile-page .score-cylinder {
        max-width: 80px;
        height: 150px;
    }

    .athlete-profile-page .score-text {
        font-size: 17px;
        bottom: 12px;
    }

    .athlete-profile-page .user-profile-img {
        width: 75px;
        height: 75px;
    }
}














.dashboard-box {
    position: relative;
    height: 260px;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

.dashboard-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s ease;
}

.dashboard-box:hover img {
    transform: scale(1.1);
}

.dashboard-box .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.85),
        rgba(0,0,0,.25)
    );
}


.dashboard-box .content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 25px;
    color: white;
    text-align: right;
}


.dashboard-box h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}


.dashboard-box p {
    font-size: 14px;
    line-height: 1.8;
    min-height: 45px;
}


.dashboard-box .btn {
    border-radius: 30px;
    padding: 7px 22px;
    font-size: 14px;
    margin-top: 10px;
}

@media(max-width:576px){

    .dashboard-box{
        height:220px;
        border-radius:14px;
    }

    .dashboard-box .content{
        padding:12px;
    }

    .dashboard-box h4{
        font-size:16px;
    }

    .dashboard-box p{
        font-size:11px;
        line-height:1.5;
    }

    .dashboard-box .btn{
        padding:5px 12px;
        font-size:11px;
    }

}


/* ============================================
   استایل جدید لیدربرد - هماهنگ با رویدادها
   ============================================ */

/* کارت اصلی لیدربرد */
.leaderboard-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.leaderboard-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

/* هدر لیدربرد */
.leaderboard-header {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
}

.leaderboard-header h3 {
    color: #ffd700;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
}

.leaderboard-header h3 i {
    font-size: 1.8rem;
    animation: pulse 2s infinite;
}

.leaderboard-header .rank-badge {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.2);
    font-family: Arial, Helvetica, sans-serif;
}

/* بدنه لیدربرد */
.leaderboard-body {
    padding: 15px 20px 20px;
    max-height: 400px;
    overflow-y: auto;
}

.leaderboard-body::-webkit-scrollbar {
    width: 4px;
}

.leaderboard-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.leaderboard-body::-webkit-scrollbar-thumb {
    background: #ffd700;
    border-radius: 10px;
}

/* آیتم‌های لیدربرد */
.rank-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.rank-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #ffd700, #ff6b35);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.rank-item:hover {
    background: rgba(255, 215, 0, 0.08);
    transform: translateX(-8px);
    border-color: rgba(255, 215, 0, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.rank-item:hover::after {
    opacity: 1;
}

/* رتبه‌های ویژه (طلا، نقره، برنز) */
.rank-item.gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    border-color: rgba(255, 215, 0, 0.2);
}

.rank-item.gold .rank-number {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.rank-item.gold::before {
    content: '👑';
    position: absolute;
    left: 10px;
    top: -5px;
    font-size: 1.2rem;
    opacity: 0.7;
}

.rank-item.silver {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.12), rgba(192, 192, 192, 0.04));
    border-color: rgba(192, 192, 192, 0.15);
}

.rank-item.silver .rank-number {
    color: #c0c0c0;
}

.rank-item.bronze {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.12), rgba(205, 127, 50, 0.04));
    border-color: rgba(205, 127, 50, 0.15);
}

.rank-item.bronze .rank-number {
    color: #cd7f32;
}

/* شماره رتبه */
.rank-number {
    min-width: 40px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    font-family: 'Arial', sans-serif;
    transition: all 0.3s;
}

.rank-item:hover .rank-number {
    transform: scale(1.1);
}

/* اطلاعات ورزشکار */
.rank-info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

/* آواتار ورزشکار */
.rank-avatar {
    position: relative;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
}

.rank-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s;
}

.rank-item:hover .rank-avatar img {
    border-color: #ffd700;
    transform: scale(1.05);
}

/* مدال کوچک روی آواتار */
.rank-avatar .medal {
    position: absolute;
    bottom: -2px;
    right: -2px;
    font-size: 0.9rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* نام ورزشکار */
.rank-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
    transition: color 0.3s;
}

.rank-item:hover .rank-name {
    color: #ffd700;
}

/* امتیاز */
.rank-score {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 215, 0, 0.08);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    white-space: nowrap;
}

.rank-score i {
    color: #000000;
    font-size: 0.9rem;
}

.rank-score .score-value {
    color: #000000;
    font-weight: 700;
    font-size: 1rem;
}

/* تغییرات امتیاز (افزایش/کاهش) */
.rank-change {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    margin-right: 4px;
}

.rank-change.up {
    color: #00e676;
    background: rgba(0, 230, 118, 0.1);
}

.rank-change.down {
    color: #ff5252;
    background: rgba(255, 82, 82, 0.1);
}

.rank-change.stable {
    color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* حالت خالی لیدربرد */
.rank-empty {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.3);
}

.rank-empty i {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
    opacity: 0.5;
}

.rank-empty p {
    font-size: 0.9rem;
    margin: 0;
}

/* انیمیشن‌ها */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   ریسپانسیو
   ============================================ */

@media (max-width: 991px) {
    .leaderboard-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .leaderboard-header {
        padding: 15px 18px;
    }
    
    .leaderboard-header h3 {
        font-size: 1.1rem;
    }
    
    .leaderboard-header h3 i {
        font-size: 1.4rem;
    }
    
    .leaderboard-body {
        padding: 12px 14px 16px;
        max-height: 300px;
    }
    
    .rank-item {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .rank-number {
        min-width: 30px;
        font-size: 1rem;
    }
    
    .rank-avatar {
        width: 35px;
        height: 35px;
    }
    
    .rank-name {
        font-size: 0.8rem;
    }
    
    .rank-score {
        padding: 2px 10px;
    }
    
    .rank-score .score-value {
        font-size: 0.85rem;
    }
    
    .rank-change {
        font-size: 0.6rem;
        padding: 1px 6px;
    }
}

/* ============================================
   حالت دارک/لایت (اختیاری)
   ============================================ */

/* برای تم لایت (اگر نیاز شد) */
.light-style .leaderboard-card {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.light-style .leaderboard-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.light-style .rank-item {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
}

.light-style .rank-item:hover {
    background: rgba(255, 215, 0, 0.06);
}

.light-style .rank-name {
    color: #1a1a2e;
}

.light-style .rank-number {
    color: rgba(0, 0, 0, 0.15);
}









.exercise-details-page td{
    font-size: 13px;
}












/* Bottom Navigation */
.bottom-nav{
    display:none;
}

@media (max-width:991px){

    

    /* فضای پایین صفحه */
    .content-wrapper{
        padding-bottom:85px;
    }

    

    .bottom-nav{

        display:flex;
        position:fixed;
        bottom:0;
        right:0;
        left:0;

        height:68px;

        background:#fff;
        border-top:1px solid #e8e8e8;

        justify-content:space-around;
        align-items:center;

        z-index:9999;

        box-shadow:0 -3px 15px rgba(0,0,0,.08);
    }

    .bottom-nav a{

        flex:1;
        text-align:center;
        text-decoration:none;

        color:#777;

        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;

        font-size:11px;

        transition:.2s;
    }

    .bottom-nav a i{

        font-size:24px;
        margin-bottom:4px;
    }

    .bottom-nav a.active{

        color:#0d6efd;
        font-weight:700;
    }

}























/* TEST DETAILS PAGE */


.test-details-page .page-with-emoji-bg {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.test-details-page .emoji-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.06;
    font-size: 40vh;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.8) rotate(-5deg);
}

.test-details-page .emoji-background.active {
    opacity: 0.08;
    transform: scale(1) rotate(0deg);
}

/* ========== انیمیشن‌های مختلف برای ایموجی ========== */
@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.2);
    }

    70% {
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

@keyframes run {
    0% {
        transform: translateX(-20px) rotate(-5deg);
    }

    50% {
        transform: translateX(20px) rotate(5deg);
    }

    100% {
        transform: translateX(-20px) rotate(-5deg);
    }
}

@keyframes flash {

    0%,
    100% {
        opacity: 0.08;
        transform: scale(1);
    }

    50% {
        opacity: 0.2;
        transform: scale(1.1);
    }
}

@keyframes explode {
    0% {
        transform: scale(0.5) rotate(0deg);
        opacity: 0.02;
    }

    50% {
        transform: scale(1.3) rotate(10deg);
        opacity: 0.12;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.08;
    }
}

@keyframes flow {
    0% {
        transform: translateY(-10px) rotate(-3deg);
    }

    50% {
        transform: translateY(10px) rotate(3deg);
    }

    100% {
        transform: translateY(-10px) rotate(-3deg);
    }
}

@keyframes swing {

    0%,
    100% {
        transform: rotate(-8deg) scale(1);
    }

    50% {
        transform: rotate(8deg) scale(1.05);
    }
}

@keyframes punch {
    0% {
        transform: translateX(0) scale(1);
    }

    30% {
        transform: translateX(30px) scale(1.2);
    }

    60% {
        transform: translateX(-10px) scale(0.9);
    }

    100% {
        transform: translateX(0) scale(1);
    }
}

@keyframes spin {
    0% {
        transform: translateX(0) scale(1);
    }

    30% {
        transform: translateX(30px) scale(1.2);
    }

    60% {
        transform: translateX(-10px) scale(0.9);
    }

    100% {
        transform: translateX(0) scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.test-details-page .emoji-background .emoji-animate {
    display: inline-block;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.test-details-page .emoji-background .emoji-animate.heartbeat {
    animation-name: heartbeat;
    animation-duration: 1.2s;
}

.test-details-page .emoji-background .emoji-animate.pulse {
    animation-name: pulse;
    animation-duration: 1.8s;
}

.test-details-page .emoji-background .emoji-animate.run {
    animation-name: run;
    animation-duration: 2.5s;
}

.test-details-page .emoji-background .emoji-animate.flash {
    animation-name: flash;
    animation-duration: 1.5s;
}

.test-details-page .emoji-background .emoji-animate.explode {
    animation-name: explode;
    animation-duration: 2s;
}

.test-details-page .emoji-background .emoji-animate.flow {
    animation-name: flow;
    animation-duration: 3s;
}

.test-details-page .emoji-background .emoji-animate.swing {
    animation-name: swing;
    animation-duration: 2.5s;
}

.test-details-page .emoji-background .emoji-animate.punch {
    animation-name: punch;
    animation-duration: 1.8s;
}

.test-details-page .emoji-background .emoji-animate.spin {
    animation-name: spin;
    animation-duration: 4s;
}

.test-details-page .emoji-background .emoji-animate.float {
    animation-name: float;
    animation-duration: 3.5s;
}

/* ========== محتوای اصلی بالای پس‌زمینه ========== */
.test-details-page .content-above-bg {
    position: relative;
    z-index: 1;
}
/* ========== تب‌های مدرن مکعبی - 2 ستونه ========== */
.test-details-page .tabs-modern {
    padding: 16px 0 8px 0;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
    width: 100%;
    overflow: hidden; /* جلوگیری از خروج از کادر */

   
}

.test-details-page .tabs-modern .nav-tabs {
    border-bottom: none !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
}

.test-details-page .tabs-modern .nav-tabs .nav-item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.test-details-page .tabs-modern .nav-tabs .nav-link {
    border: none !important;
    border-radius: 16px !important;
    padding: 14px 18px !important;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    background: #002fbc92;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 2px solid transparent !important;
    margin-bottom: 0 !important;
    font-size: 15px !important;
    cursor: pointer;
    min-height: 52px;
    width: 100% !important;
    text-align: center;
    box-sizing: border-box !important;
}

.test-details-page .tabs-modern .nav-tabs .nav-link:hover {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    transform: translateY(-3px);
    color: #1e293b;
}

.test-details-page .tabs-modern .nav-tabs .nav-link.active {
    background: #ffffff;
    color: #1e293b;
    border-color: var(--tab-color, #6c7a8a) !important;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* خط زیرین رنگی برای تب فعال */
.test-details-page .tabs-modern .nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 30%;
    width: 40%;
    height: 3px;
    border-radius: 3px;
    background: var(--tab-color, #6c7a8a);
    transition: all 0.3s ease;
}

.test-details-page .tabs-modern .nav-tabs .nav-link .tab-emoji {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}

.test-details-page .tabs-modern .nav-tabs .nav-link span:not(.tab-emoji):not(.tab-badge) {
    font-weight: 600;
    font-size: 0.9rem;
}

.test-details-page .tabs-modern .nav-tabs .nav-link .tab-badge {
    background: #e9edf2;
    color: #6c7a8a;
    border-radius: 30px;
    padding: 1px 10px;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 20px;
    min-width: 22px;
    text-align: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.test-details-page .tabs-modern .nav-tabs .nav-link.active .tab-badge {
    background: var(--tab-color, #6c7a8a);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* انیمیشن هاور روی تب‌ها */
.test-details-page .tabs-modern .nav-tabs .nav-link:not(.active):hover .tab-emoji {
    animation: bounce-icon 0.6s ease;
}

@keyframes bounce-icon {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.3) rotate(-5deg); }
    60% { transform: scale(0.9) rotate(5deg); }
    80% { transform: scale(1.1); }
}

/* ===== حالت موبایل ===== */
@media (max-width: 576px) {
    .test-details-page .tabs-modern .nav-tabs {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    
    .test-details-page .tabs-modern .nav-tabs .nav-link {
        padding: 10px 8px !important;
        font-size: 0.7rem !important;
        min-height: 40px;
        border-radius: 12px !important;
        gap: 5px;
    }
    
    .test-details-page .tabs-modern .nav-tabs .nav-link .tab-emoji {
        font-size: 1rem;
    }
    
    .test-details-page .tabs-modern .nav-tabs .nav-link span:not(.tab-emoji):not(.tab-badge) {
        font-size: 0.65rem;
    }
    
    .test-details-page .tabs-modern .nav-tabs .nav-link .tab-badge {
        font-size: 0.45rem;
        padding: 0 6px;
        line-height: 15px;
        min-width: 16px;
    }
}

/* ===== تبلت ===== */
@media (min-width: 577px) and (max-width: 992px) {
    .test-details-page .tabs-modern .nav-tabs {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

/* ===== دسکتاپ ===== */
@media (min-width: 993px) {
    /* اگر می‌خواهید در دسکتاپ 3 ستونه باشد این خط را فعال کنید */
    /* 
    .test-details-page .tabs-modern .nav-tabs {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    */
}

/* رفع مشکل بوت استرپ برای ul.nav */
.test-details-page .tabs-modern .nav {
    display: grid !important;
    flex-wrap: nowrap !important;
}

/* اطمینان از اینکه هیچ overflow ای وجود نداشته باشد */
.test-details-page .tabs-modern,
.test-details-page .tabs-modern .nav-tabs,
.test-details-page .tabs-modern .nav-tabs .nav-item,
.test-details-page .tabs-modern .nav-tabs .nav-link {
    box-sizing: border-box !important;
    max-width: 100% !important;
}

.test-details-page .tabs-modern .nav-link {
    position: relative;
    overflow: hidden;
}

.test-details-page .tabs-modern .nav-link .ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transform: scale(0);
    animation: ripple-anim 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-anim {
    to { transform: scale(4); opacity: 0; }
}





/* اطمینان از اینکه کانتینر محدودیت ندارد */
.test-details-page .container-xxl {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
}

/* اگر wrapper دیگری وجود دارد */
.test-details-page .content-wrapper,
.test-details-page .container-xxl,
.test-details-page .flex-grow-1 {
    overflow: visible !important;
}

/* ========== کارت‌ها ========== */
.test-details-page .tab-pane-custom {
    display: none;
    animation: fadeSlide 0.4s ease;
    padding-top: 20px;
}

.test-details-page .tab-pane-custom.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.test-details-page .test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
}

.test-details-page .test-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 18px 20px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.test-details-page .test-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.96);
}

.test-details-page .test-card .card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.test-details-page .test-card .test-title {
    font-weight: 600;
    font-size: 1rem;
    color: #1e293b;
    margin: 0;
}

.test-details-page .test-card .test-unit {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 400;
}

.test-details-page .test-card .test-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.test-details-page .test-card .stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #475569;
}

.test-details-page .test-card .stat-item .stat-value {
    font-weight: 600;
}

.test-details-page .test-card .results-timeline {
    background: rgba(248, 250, 252, 0.8);
    border-radius: 10px;
    padding: 10px 14px;
    margin: 12px 0 14px;
    border-right: 3px solid var(--card-color, #6c7a8a);
}

.test-details-page .test-card .result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    font-size: 0.8rem;
}

.test-details-page .test-card .result-item:not(:last-child) {
    border-bottom: 1px dashed #e9edf2;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.test-details-page .test-card .result-item .result-value {
    font-weight: 600;
}

.test-details-page .test-card .result-item .result-date {
    color: #94a3b8;
    font-size: 0.65rem;
}

.test-details-page .test-card .result-item .result-badge {
    font-size: 0.55rem;
    padding: 1px 8px;
    border-radius: 30px;
    font-weight: 600;
}

.test-details-page .test-card .result-item .result-badge.latest {
    background: #dbeafe;
    color: #2563eb;
}

.test-details-page .test-card .result-item .result-badge.up {
    background: #dcfce7;
    color: #16a34a;
}

.test-details-page .test-card .result-item .result-badge.down {
    background: #fee2e2;
    color: #dc2626;
}

.test-details-page .test-card .result-item .result-badge.same {
    background: #fef3c7;
    color: #d97706;
}

.test-details-page .test-card .card-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.test-details-page .test-card .card-actions .btn {
    font-size: 0.7rem;
    padding: 4px 14px;
    border-radius: 30px;
    flex: 1;
    min-width: 60px;
    border: 4px solid;
}

.test-details-page .test-card .card-actions .btn i {
    font-size: 0.9rem;
}

.test-details-page .test-card .progress-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(238, 242, 247, 0.5);
}

.test-details-page .test-card .progress-indicator .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.test-details-page .test-card .progress-indicator .status-dot.up {
    background: #16a34a;
}

.test-details-page .test-card .progress-indicator .status-dot.down {
    background: #dc2626;
}

.test-details-page .test-card .progress-indicator .status-dot.same {
    background: #d97706;
}

.test-details-page .test-card .standard-info {
    font-size: 0.7rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.test-details-page .test-card .standard-info .pass {
    color: #16a34a;
}

.test-details-page .test-card .standard-info .fail {
    color: #dc2626;
}

/* ========== واکنش‌گرایی ========== */
@media (max-width: 768px) {
    .test-details-page .emoji-background {
        font-size: 30vh;
    }

    .test-details-page .tabs-modern {
        padding: 6px 8px 0 8px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.95);
    }

    .test-details-page .tabs-modern .nav-tabs .nav-link {
        padding: 18px 12px !important;
        font-size: 1.0rem !important;
        gap: 20px;
        border-bottom: 3px solid #000;

        
    }

    .test-details-page .tabs-modern .nav-tabs .nav-link .tab-emoji {
        font-size: 0.9rem;
    }

    .test-details-page .tabs-modern .nav-tabs .nav-link .tab-badge {
        font-size: 0.65rem;
        line-height: 16px;
        padding: 0 6px;
        min-width: 16px;
    }

    .test-details-page .test-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .test-details-page .test-card {
        padding: 14px 16px;
        background: rgba(255, 255, 255, 0.135);
    }

    .test-details-page .test-card .card-top {
        flex-direction: column;
        gap: 4px;
    }

    .test-details-page .test-card .test-stats {
        gap: 8px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .test-details-page .emoji-background {
        font-size: 25vh;
        opacity: 0.04;
    }

    .test-details-page .emoji-background.active {
        opacity: 0.06;
    }

    .test-details-page .tabs-modern .nav-tabs .nav-link {
        padding: 6px 8px;
        font-size: 0.65rem;
    }

    .test-details-page .tabs-modern .nav-tabs .nav-link .tab-emoji {
        font-size: 0.75rem;
    }
}



/* بهترین رکورد کلی */
.global-best-record {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.02));
    border-radius: 10px;
    margin: 8px 0 12px 0;
    border: 1px solid rgba(245, 158, 11, 0.15);
    position: relative;
    transition: all 0.3s ease;
}

.global-best-record:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.04));
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1);
}

.global-best-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.global-best-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.global-best-value {
    font-size: 0.7rem;
    color: #1e293b;
}

.global-best-value strong {
    color: #f59e0b;
    font-size: 1rem;
    font-weight: 700;
}

.global-best-meta {
    display: flex;
    gap: 12px;
    font-size: 0.7rem;
    color: #94a3b8;
}

.global-best-meta strong {
    color: #475569;
    font-weight: 600;
}

.record-holder-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 0.65rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5);
    }
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .global-best-record {
        flex-wrap: wrap;
        padding: 8px 12px;
    }
    
    .global-best-meta {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .record-holder-badge {
        font-size: 0.6rem;
        padding: 2px 8px;
    }
}















/* استایل بخش رویدادها */
.events-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 5px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    position: relative;
}

.events-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.events-header {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
}

.events-header h2 {
    color: #ffd700;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
}

.events-header h2 i {
    font-size: 1.8rem;
    animation: pulse 2s infinite;
}

.events-header .event-badge {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.events-body {
    padding: 15px 20px 20px;
    max-height: 400px;
    overflow-y: auto;
}

.events-body::-webkit-scrollbar {
    width: 4px;
}

.events-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.events-body::-webkit-scrollbar-thumb {
    background: #ffd700;
    border-radius: 10px;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.event-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #ffd700, #ff6b35);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.event-item:hover {
    background: rgba(255, 215, 0, 0.08);
    transform: translateX(-8px);
    border-color: rgba(255, 215, 0, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.event-item:hover::after {
    opacity: 1;
}

.event-date {
    min-width: 55px;
    text-align: center;
    background: rgba(255, 215, 0, 0.1);
    padding: 6px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffd700;
    line-height: 1.2;
}

.event-date .month {
    display: block;
    font-size: 0.6rem;
    color: rgba(255, 215, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-info {
    flex: 1;
    min-width: 0;
}

.event-info .event-title {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0 3px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-info .event-title .event-type {
    font-size: 0.55rem;
    padding: 2px 10px;
    border-radius: 20px;
    background: rgba(255, 215, 0, 0.12);
    color: #ffd700;
    font-weight: 500;
}

.event-info .event-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

.event-info .event-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 8px;
}

.event-info .event-meta i {
    font-size: 0.75rem;
}

.event-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.event-status.soon {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.event-status.today {
    background: rgba(255, 107, 53, 0.15);
    color: #ff6b35;
    border: 1px solid rgba(255, 107, 53, 0.15);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.event-status.week {
    background: rgba(0, 200, 255, 0.1);
    color: #00c8ff;
    border: 1px solid rgba(0, 200, 255, 0.1);
}

.event-empty {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.3);
}

.event-empty i {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
    opacity: 0.5;
}

.event-empty p {
    font-size: 0.9rem;
    margin: 0;
}

/* ریسپانسیو */
@media (max-width: 991px) {
    .events-section {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .event-item {
        padding: 12px 14px;
        flex-wrap: wrap;
    }
    .event-date {
        min-width: 45px;
        padding: 4px 8px;
    }
    .event-date .day {
        font-size: 1.2rem;
    }
    .event-info .event-title {
        font-size: 0.75rem;
    }
    .event-status {
        font-size: 0.5rem;
        padding: 3px 8px;
    }
    .events-body {
        max-height: 300px;
        padding: 12px 14px 16px;
    }
}

















/* ============================================
   استایل‌های اختصاصی صفحه article-list
   ============================================ */

/* کلاس اصلی صفحه */
.article-list-page {
    /* background-color: #f8f9fc; */
}

.article-list-page img{
    border-radius: 10px;
    width: 100%;
    height: 160px;
    margin-bottom: 20px;
}

/* ===== هدر صفحه ===== */
.article-list-page .article-list-header {
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.article-list-page .article-list-header h4 {
    color: #2c3e50;
    font-weight: 700;
}

.article-list-page .article-list-header .badge {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
}

/* ===== گرید مقالات ===== */
.article-list-page .article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.8rem;
    margin-top: 2rem;
}

/* ===== کارت مقاله ===== */
.article-list-page .article-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-list-page .article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
    border-color: #e0e7ff;
}

.article-list-page .article-card-body {
    padding: 1.8rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* شماره مقاله */
.article-list-page .article-number {
    font-size: 0.75rem;
    color: #a0aec0;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.article-list-page .article-number span {
    background: #f7fafc;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
}

/* عنوان مقاله */
.article-list-page .article-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.7rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* خلاصه مقاله */
.article-list-page .article-excerpt {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* متادیتا */
.article-list-page .article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 1.2rem;
}

.article-list-page .article-meta i {
    font-size: 0.9rem;
    margin-left: 0.3rem;
}

/* دکمه مشاهده جزئیات */
.article-list-page .btn-article-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    width: fit-content;
    margin-top: auto;
}

.article-list-page .btn-article-detail:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46a1 100%);
    color: #fff;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
    text-decoration: none;
}


.article-list-page .btn-article-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ea6666 0%, #a24b4b 100%);
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    width: fit-content;
    margin-top: auto;
}

.article-list-page .btn-article-delete:hover {
    background: linear-gradient(135deg, #d85a5a 0%, #a14646 100%);
    color: #fff;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
    text-decoration: none;
}



.article-list-page .btn-article-detail i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.article-list-page .btn-article-detail:hover i {
    transform: translateX(-4px);
}

/* ===== مودال / صفحه جزئیات مقاله ===== */
.article-list-page .article-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.article-list-page .article-detail-content {
    background: #ffffff;
    border-radius: 24px;
    max-width: 780px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.5rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.20);
    animation: slideUp 0.35s ease;
}

@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.article-list-page .article-detail-content::-webkit-scrollbar {
    width: 4px;
}

.article-list-page .article-detail-content::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

.article-list-page .detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.article-list-page .detail-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a202c;
    line-height: 1.4;
    margin: 0;
}

.article-list-page .btn-close-detail {
    background: #f1f4f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #4a5568;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.article-list-page .btn-close-detail:hover {
    background: #e2e8f0;
    color: #1a202c;
    transform: rotate(90deg);
}

.article-list-page .detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: #718096;
}

.article-list-page .detail-meta i {
    margin-left: 0.4rem;
    font-size: 1rem;
}

.article-list-page .detail-body {
    font-size: 1rem;
    line-height: 2;
    color: #2d3748;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.article-list-page .detail-body p {
    margin-bottom: 1rem;
}

.article-list-page .detail-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 1rem;
}

.article-list-page .detail-footer .btn {
    border-radius: 40px;
    padding: 0.6rem 2rem;
    font-weight: 600;
}

/* ===== حالت خالی ===== */
.article-list-page .empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 20px;
    border: 2px dashed #e2e8f0;
}

.article-list-page .empty-state i {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 1rem;
    display: block;
}

.article-list-page .empty-state p {
    color: #718096;
    font-size: 1.1rem;
}

/* ===== واکنش‌گرایی ===== */
@media (max-width: 768px) {
    .article-list-page .article-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .article-list-page .article-detail-modal {
        padding: 1rem;
    }

    .article-list-page .article-detail-content {
        padding: 1.5rem;
        max-height: 90vh;
        border-radius: 16px;
    }

    .article-list-page .detail-header h3 {
        font-size: 1.2rem;
    }

    .article-list-page .article-card-body {
        padding: 1.2rem;
    }

    .article-list-page .btn-article-detail {
        width: 100%;
        justify-content: center;
    }

    .article-list-page .detail-footer {
        flex-direction: column;
    }

    .article-list-page .detail-footer .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .article-list-page .article-list-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }

    .article-list-page .article-detail-content {
        padding: 1rem;
    }

    .article-list-page .detail-header h3 {
        font-size: 1rem;
    }
}


















/* ============================================
   استایل‌های اختصاصی صفحه article-details
   ============================================ */

/* کلاس اصلی صفحه */
.article-details-page {
    background-color: #f8f9fc;
}

/* ===== مسیر یابی (Breadcrumb) ===== */
.article-details-breadcrumb {
    margin-bottom: 2rem;
}

.article-details-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.article-details-breadcrumb .breadcrumb-item a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.article-details-breadcrumb .breadcrumb-item a:hover {
    color: #5a67d8;
}

.article-details-breadcrumb .breadcrumb-item.active {
    color: #4a5568;
}

.article-details-breadcrumb .breadcrumb-item i {
    font-size: 1.1rem;
}

/* ===== کانتینر اصلی مقاله ===== */
.article-details-container {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    margin-bottom: 3rem;
}

/* ===== هدر مقاله ===== */
.article-details-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f4f8;
}

.article-details-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a202c;
    line-height: 1.4;
    margin-bottom: 1.2rem;
}

.article-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #718096;
    font-size: 0.9rem;
}

.meta-item i {
    font-size: 1.1rem;
    color: #667eea;
}

/* ===== تصویر مقاله ===== */
.article-details-image {
    margin-bottom: 2.5rem;
    border-radius: 16px;
    overflow: hidden;
    background: #f7fafc;
    position: relative;
}

.article-details-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.article-details-image:hover img {
    transform: scale(1.02);
}

/* ===== محتوای مقاله ===== */
.article-details-body {
    font-size: 1.05rem;
    line-height: 2.1;
    color: #2d3748;
    padding: 0.5rem 0;
}

.article-details-body p {
    margin-bottom: 1.5rem;
    text-align: justify;
    
}

.article-details-body strong,
.article-details-body b {
    color: #1a202c;
}

.article-details-body ul,
.article-details-body ol {
    padding-right: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-details-body li {
    margin-bottom: 0.5rem;
}

.article-details-body blockquote {
    border-right: 4px solid #667eea;
    padding: 1rem 1.5rem;
    background: #f7fafc;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: #4a5568;
}

/* ===== دکمه‌های پایین مقاله ===== */
.article-details-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f4f8;
}

.article-details-actions .btn {
    border-radius: 40px;
    padding: 0.7rem 2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.article-details-actions .btn-outline-primary {
    border-color: #667eea;
    color: #667eea;
}

.article-details-actions .btn-outline-primary:hover {
    background: #667eea;
    color: #fff;
    transform: translateX(-4px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
}

.article-details-actions .btn-outline-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* ===== مقالات مرتبط ===== */
.related-articles-section {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
}

.related-articles-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.related-articles-title i {
    color: #667eea;
    font-size: 1.6rem;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.related-article-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    border-color: #e0e7ff;
}

.related-article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-article-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.6rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-article-excerpt {
    color: #4a5568;
    font-size: 0.85rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-article-meta {
    font-size: 0.75rem;
    color: #a0aec0;
    margin-bottom: 1rem;
}

.related-article-meta i {
    margin-left: 0.3rem;
}

.btn-related-read {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #667eea;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    width: fit-content;
}

.btn-related-read:hover {
    color: #5a67d8;
    border-bottom-color: #667eea;
    text-decoration: none;
}

.btn-related-read i {
    transition: transform 0.3s ease;
}

.btn-related-read:hover i {
    transform: translateX(-4px);
}

/* ===== واکنش‌گرایی ===== */
@media (max-width: 992px) {
    .article-details-container {
        padding: 2rem;
    }

    .article-details-title {
        font-size: 1.8rem;
    }

    .related-articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .article-details-container {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .article-details-title {
        font-size: 1.4rem;
    }

    .article-details-meta {
        gap: 1rem;
    }

    .meta-item {
        font-size: 0.8rem;
    }

    .article-details-body {
        font-size: 0.95rem;
        line-height: 1.9;
        text-align: justify;
    }

    .article-details-actions {
        flex-direction: column;
    }

    .article-details-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }

    .related-articles-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .article-details-container {
        padding: 1rem;
        border-radius: 12px;
    }

    .article-details-title {
        font-size: 1.1rem;
    }

    .article-details-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .article-details-image img {
        max-height: 250px;
    }

    .article-details-body {
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .article-details-breadcrumb .breadcrumb {
        font-size: 0.8rem;
    }
}

/* ===== حالت پرینت ===== */
@media print {
    .article-details-page {
        background: #fff;
    }

    .layout-navbar,
    .layout-menu,
    .article-details-actions,
    .related-articles-section,
    .article-details-breadcrumb,
    .footer,
    .btn,
    .layout-overlay {
        display: none !important;
    }

    .article-details-container {
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
    }

    .article-details-image img {
        max-height: 300px !important;
    }

    .article-details-body {
        font-size: 0.9rem !important;
        line-height: 1.8 !important;
    }
}


















/* ============================================
   استایل‌های اختصاصی صفحه badge-list
   ============================================ */

/* کلاس اصلی صفحه */
.badge-list-page {
    /* background-color: #f8f9fc; */
}

.badge-list-page img{
    border-radius: 10px;
    width: 100%;
    height: 230px;
    margin-bottom: 20px;
}

/* ===== هدر صفحه ===== */
.badge-list-page .badge-list-header {
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
    
}

.badge-list-page .badge-list-header h4 {
    color: #2c3e50;
    font-weight: 700;
}

.badge-list-page .badge-list-header .badge {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
}

/* ===== گرید نشان ===== */
.badge-list-page .badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.8rem;
    margin-top: 2rem;
}

/* ===== کارت نشان ===== */
.badge-list-page .badge-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.badge-list-page .badge-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
    border-color: #e0e7ff;
}

.badge-list-page .badge-card-body {
    padding: 1.8rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* شماره مقاله */
.badge-list-page .badge-number {
    font-size: 0.75rem;
    color: #a0aec0;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.badge-list-page .badge-number span {
    background: #f7fafc;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
}

/* عنوان مقاله */
.badge-list-page .badge-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.7rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

/* خلاصه مقاله */
.badge-list-page .badge-desc {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

/* متادیتا */
.badge-list-page .badge-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 1.2rem;
}

.badge-list-page .badge-meta i {
    font-size: 0.9rem;
    margin-left: 0.3rem;
}

/* دکمه مشاهده جزئیات */
.badge-list-page .btn-badge-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    width: fit-content;
    margin-top: auto;
}

.badge-list-page .btn-badge-detail:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46a1 100%);
    color: #fff;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
    text-decoration: none;
}


.badge-list-page .btn-badge-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ea6666 0%, #a24b4b 100%);
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    /* width: fit-content; */
    margin-top: auto;
}

.badge-list-page .btn-badge-delete:hover {
    background: linear-gradient(135deg, #d85a5a 0%, #a14646 100%);
    color: #fff;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
    text-decoration: none;
}



.badge-list-page .btn-badge-detail i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.badge-list-page .btn-badge-detail:hover i {
    transform: translateX(-4px);
}

/* ===== مودال / صفحه جزئیات مقاله ===== */
.badge-list-page .badge-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.badge-list-page .badge-detail-content {
    background: #ffffff;
    border-radius: 24px;
    max-width: 780px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.5rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.20);
    animation: slideUp 0.35s ease;
}

@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.badge-list-page .badge-detail-content::-webkit-scrollbar {
    width: 4px;
}

.badge-list-page .badge-detail-content::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

.badge-list-page .detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.badge-list-page .detail-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a202c;
    line-height: 1.4;
    margin: 0;
}

.badge-list-page .btn-close-detail {
    background: #f1f4f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #4a5568;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.badge-list-page .btn-close-detail:hover {
    background: #e2e8f0;
    color: #1a202c;
    transform: rotate(90deg);
}

.badge-list-page .detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: #718096;
}

.badge-list-page .detail-meta i {
    margin-left: 0.4rem;
    font-size: 1rem;
}

.badge-list-page .detail-body {
    font-size: 1rem;
    line-height: 2;
    color: #2d3748;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.badge-list-page .detail-body p {
    margin-bottom: 1rem;
}

.badge-list-page .detail-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 1rem;
}

.badge-list-page .detail-footer .btn {
    border-radius: 40px;
    padding: 0.6rem 2rem;
    font-weight: 600;
}

/* ===== حالت خالی ===== */
.badge-list-page .empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 20px;
    border: 2px dashed #e2e8f0;
}

.badge-list-page .empty-state i {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 1rem;
    display: block;
}

.badge-list-page .empty-state p {
    color: #718096;
    font-size: 1.1rem;
}

/* ===== واکنش‌گرایی ===== */
@media (max-width: 768px) {
    .badge-list-page .badge-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .badge-list-page .badge-detail-modal {
        padding: 1rem;
    }

    .badge-list-page .badge-detail-content {
        padding: 1.5rem;
        max-height: 90vh;
        border-radius: 16px;
    }

    .badge-list-page .detail-header h3 {
        font-size: 1.2rem;
    }

    .badge-list-page .badge-card-body {
        padding: 1.2rem;
    }

    .badge-list-page .btn-badge-detail {
        width: 100%;
        justify-content: center;
    }

    .badge-list-page .detail-footer {
        flex-direction: column;
    }

    .badge-list-page .detail-footer .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .badge-list-page .badge-list-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }

    .badge-list-page .badge-detail-content {
        padding: 1rem;
    }

    .badge-list-page .detail-header h3 {
        font-size: 1rem;
    }
}

















/* ============================================
   .badge-profile - Container Styles
   ============================================ */
   .badge-profile {
    position: relative;
    padding: 20px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Animated gradient border */
.badge-profile::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, 
        #ff6b6b, #ffd93d, #6bcb77, #4d96ff, #ff6b6b
    );
    border-radius: 24px;
    opacity: 0;
    z-index: -1;
    animation: borderRotate 6s linear infinite;
    transition: opacity 0.6s ease;
}

.badge-profile:hover::before {
    opacity: 0.6;
}

.badge-profile::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 22px;
    z-index: -1;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   .badge-grid - Grid Layout
   ============================================ */
   .badge-profile .badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
    padding: 8px;
    position: relative;
    z-index: 1;
}

/* ============================================
   .badge-card - Individual Badge Card
   ============================================ */
   .badge-profile .badge-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 20px 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    position: relative;
    overflow: hidden;
}

/* Glowing hover effect */
.badge-profile .badge-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, 
        rgba(255, 255, 255, 0.03) 0%, 
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.badge-profile .badge-card:hover::before {
    opacity: 1;
}

/* Card hover animation */
.badge-profile .badge-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 
                0 0 30px rgba(77, 150, 255, 0.05);
}

/* Shine effect on hover */
.badge-profile .badge-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.03), 
        transparent
    );
    transition: left 0.8s ease;
    pointer-events: none;
}

.badge-profile .badge-card:hover::after {
    left: 100%;
}

/* ============================================
   .badge-card-body - Content Container
   ============================================ */
   .badge-profile .badge-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

/* Badge image with pulse animation */
.badge-profile .badge-card-body img {
    filter: drop-shadow(0 0 10px rgba(77, 150, 255, 0.2));
    transition: all 0.5s ease;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.badge-profile .badge-card:hover .badge-card-body img {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 25px rgba(77, 150, 255, 0.4)) 
            drop-shadow(0 0 50px rgba(77, 150, 255, 0.2));
    animation: floatImage 2s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: scale(1.15) rotate(-5deg) translateY(0); }
    50% { transform: scale(1.15) rotate(-5deg) translateY(-6px); }
}

/* ============================================
   .badge-title - Title Styles
   ============================================ */
   .badge-profile .badge-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Underline animation */
.badge-profile .badge-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4d96ff, #6bcb77);
    transition: all 0.4s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.badge-profile .badge-card:hover .badge-title::after {
    width: 60%;
}

.badge-profile .badge-card:hover .badge-title {
    color: #ffffff;
    transform: translateY(-2px);
}

/* ============================================
   Variant: Different glow colors per badge
   ============================================ */
   .badge-profile .badge-card:nth-child(3n+1):hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 
                0 0 30px rgba(255, 107, 107, 0.15);
}

.badge-profile .badge-card:nth-child(3n+2):hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 
                0 0 30px rgba(255, 217, 61, 0.15);
}

.badge-profile .badge-card:nth-child(3n+3):hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 
                0 0 30px rgba(107, 203, 119, 0.15);
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    .badge-profile .badge-profile {
        padding: 12px;
        border-radius: 18px;
    }

    .badge-profile .badge-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 12px;
        padding: 4px;
    }

    .badge-profile .badge-card {
        padding: 16px 10px;
    }

    .badge-profile .badge-card-body img {
        width: 40px;
        height: 40px;
    }

    .badge-profile .badge-title {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .badge-profile .badge-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
    }

    .badge-profile .badge-card {
        padding: 12px 8px;
        border-radius: 12px;
    }

    .badge-profile .badge-card-body img {
        width: 32px;
        height: 32px;
    }

    .badge-profile .badge-title {
        font-size: 10px;
    }
}

/* ============================================
   Optional: Entrance animation for cards
   ============================================ */
   .badge-profile .badge-card {
    animation: fadeInUp 0.6s ease backwards;
    animation-delay: calc(var(--i, 0) * 0.08s);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}







/* Badge دریافت شده */
.badge-profile .badge-card.earned{
    border:2px solid #FFD700;
    background:#FFD700;
    box-shadow:0 10px 25px rgba(255,193,7,.25);
}

.badge-profile .badge-card.earned img{
    opacity:1;
    transform:scale(1);
}

/* Badge دریافت نشده */
.badge-profile .badge-card.locked{
    border:2px dashed #ddd;
    background:#faf8f8;
}

.badge-profile .badge-card.locked img{
    filter:grayscale(100%);
    opacity:.35;
}



.badge-profile .badge-card.earned .badge-title{
    color:#000000;
}

.badge-profile .badge-card.locked .badge-title{
    color:#999;
}





































/* ============================================
   آمار مبارزات - نسخه مینیمال
   ============================================ */

   .fight-stats-minimal {
    background: #0f0f1a;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.fight-stats-minimal:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ===== هدر ===== */
.fight-stats-minimal .stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.fight-stats-minimal .stats-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fight-stats-minimal .stats-icon {
    font-size: 1.2rem;
}

.fight-stats-minimal .stats-title h3 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.3px;
}

.fight-stats-minimal .stats-total {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===== گرید کارت‌ها ===== */
.fight-stats-minimal .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.fight-stats-minimal .stat-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1rem 1rem 0.75rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.fight-stats-minimal .stat-item:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.fight-stats-minimal .stat-number {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.1rem;
}

.fight-stats-minimal .stat-label {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
}

.fight-stats-minimal .stat-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.fight-stats-minimal .stat-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* رنگ‌های هر بخش */
.fight-stats-minimal .stat-win .stat-number { color: #4ade80; }
.fight-stats-minimal .stat-win .stat-bar-fill { background: #4ade80; }

.fight-stats-minimal .stat-lose .stat-number { color: #f87171; }
.fight-stats-minimal .stat-lose .stat-bar-fill { background: #f87171; }

.fight-stats-minimal .stat-draw .stat-number { color: #fbbf24; }
.fight-stats-minimal .stat-draw .stat-bar-fill { background: #fbbf24; }

.fight-stats-minimal .stat-percent {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.6rem;
    font-weight: 500;
}

/* ===== فوتر ===== */
.fight-stats-minimal .stats-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.fight-stats-minimal .stats-status {
    font-size: 0.8rem;
    font-weight: 600;
}

.fight-stats-minimal .stats-winrate {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    font-weight: 500;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .fight-stats-minimal {
        padding: 1.25rem;
        border-radius: 14px;
    }

    .fight-stats-minimal .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .fight-stats-minimal .stat-item {
        padding: 0.75rem 0.5rem 0.6rem;
        border-radius: 10px;
    }

    .fight-stats-minimal .stat-number {
        font-size: 1.4rem;
    }

    .fight-stats-minimal .stat-label {
        font-size: 0.55rem;
    }

    .fight-stats-minimal .stats-header {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .fight-stats-minimal .stats-title h3 {
        font-size: 0.85rem;
    }

    .fight-stats-minimal .stats-total {
        font-size: 0.65rem;
    }

    .fight-stats-minimal .stats-footer {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }

    .fight-stats-minimal .stats-status {
        font-size: 0.75rem;
    }

    .fight-stats-minimal .stats-winrate {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .fight-stats-minimal {
        padding: 1rem;
    }

    .fight-stats-minimal .stats-grid {
        gap: 0.35rem;
    }

    .fight-stats-minimal .stat-item {
        padding: 0.6rem 0.3rem 0.5rem;
        border-radius: 8px;
    }

    .fight-stats-minimal .stat-number {
        font-size: 1.1rem;
    }

    .fight-stats-minimal .stat-label {
        font-size: 0.5rem;
        margin-bottom: 0.4rem;
    }

    .fight-stats-minimal .stat-bar {
        height: 2px;
    }

    .fight-stats-minimal .stat-percent {
        font-size: 0.5rem;
    }

    .fight-stats-minimal .stats-title h3 {
        font-size: 0.75rem;
    }

    .fight-stats-minimal .stats-icon {
        font-size: 1rem;
    }

    .fight-stats-minimal .stats-total {
        font-size: 0.55rem;
    }

    .fight-stats-minimal .stats-footer {
        margin-top: 0.75rem;
        padding-top: 0.5rem;
    }

    .fight-stats-minimal .stats-status {
        font-size: 0.7rem;
    }

    .fight-stats-minimal .stats-winrate {
        font-size: 0.55rem;
    }
}























/* استایل ورزشکار ماه */
/* ========== کارت‌های مدرن ========== */
.modern-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 380px;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.athlete-month-card .card-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 0;
}



/* ===== کارت ورزشکار ماه ===== */
.athlete-month-card {
    background: linear-gradient(135deg, #1a1a2e, #2d1b4e, #1a1a2e);
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.athlete-month-card .card-bg-overlay {
    /* background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 70%); */
}

/* نشان ورزشکار ماه */
.athlete-month-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 50px;
    padding: 8px 20px;
    backdrop-filter: blur(10px);
    margin-bottom: 25px;
}

.athlete-month-badge span:first-child {
    color: #ffd700;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.athlete-month-badge span:first-child i {
    font-size: 20px;
    animation: pulse-gold 2s ease-in-out infinite;
}

.month-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 14px;
    border-radius: 50px;
}

/* پروفایل ورزشکار ماه */
.athlete-month-profile {
    text-align: center;
    margin-bottom: 25px;
}

.athlete-month-avatar {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 15px;
}

.athlete-month-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffd700;
    position: relative;
    z-index: 1;
}

.athlete-month-card .glow-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ffd700, #ff6b6b, #ffd700);
    opacity: 0.6;
    animation: rotate-glow 4s linear infinite;
    z-index: 0;
}

@keyframes rotate-glow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-gold {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); color: #ffed4a; }
}

.athlete-month-profile h4 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.athlete-month-quote {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px 20px;
    border-right: 3px solid #ffd700;
    position: relative;
    z-index: 1;
}

.athlete-month-quote i {
    color: rgba(255, 215, 0, 0.3);
    font-size: 18px;
}

.athlete-month-quote span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.8;
    margin: 0 8px;
}

/* محتوای کارت */
.athlete-month-card .card-content {
    position: relative;
    z-index: 1;
    padding: 35px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card .card-content h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.article-card .card-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
    flex: 1;
}

/* دکمه مدرن */
.athlete-month-card .btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    width: fit-content;
    align-self: flex-start;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.athlete-month-card .btn-modern:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
    color: #fff;
}

.athlete-month-card .btn-modern {
    background: linear-gradient(135deg, #ffd700 0%, #f7971e 100%);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
    color: #1a1a2e;
    align-self: center;
}

.athlete-month-card .btn-modern:hover {
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
    color: #1a1a2e;
}

/* حالت خالی */
.athlete-month-card.empty .empty-state i {
    font-size: 60px;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    display: block;
}

.athlete-month-card.empty .empty-state h4 {
    color: rgba(255, 255, 255, 0.5);
}

.athlete-month-card.empty .empty-state p {
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 5px;
}

.athlete-month-card .empty-sub {
    color: rgba(255, 255, 255, 0.15);
    font-size: 13px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .modern-card {
        min-height: 320px;
    }
    
    .athlete-month-card .card-content {
        padding: 25px 20px;
    }
    
    .athlete-month-avatar {
        width: 80px;
        height: 80px;
    }
    
    .athlete-month-quote span {
        font-size: 13px;
    }
    
    .athlete-month-card .btn-modern {
        padding: 10px 22px;
        font-size: 13px;
    }
}