.loyalty-box {
    display: block;
    margin-top: 12px;
    padding: 20px;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
    box-shadow: 0 4px 12px rgba(106, 17, 203, 0.08);
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.loyalty-decor {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.decor-top {
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
}

.decor-bottom {
    bottom: -30px;
    left: -30px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff9a00 0%, #ff5e00 100%);
}


.loyalty-title {
    font-weight: 800;
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.loyalty-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.loyalty-meta {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.loyalty-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.loyalty-item-icon {
    color: #6a11cb;
    font-size: 16px;
}

.loyalty-item-text {
    font-weight: 600;
    color: #2c3e50;
}

.loyalty-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e7ff, transparent);
    margin: 12px 0;
}


body.dark-mode .loyalty-box {
    background: linear-gradient(135deg, #1f2430 0%, #1b202a 100%);
    border-color: #2c3342;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

body.dark-mode .decor-top {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    opacity: 0.12;
}

body.dark-mode .decor-bottom {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    opacity: 0.12;
}

body.dark-mode .loyalty-title {
    color: #e5e7eb;
}

body.dark-mode .loyalty-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #ffffff;
}

body.dark-mode .loyalty-meta {
    color: #cbd5e1;
}

body.dark-mode .loyalty-item-text {
    color: #e5e7eb;
}

body.dark-mode .loyalty-item-icon {
    color: #a78bfa;
}

body.dark-mode .loyalty-divider {
    background: linear-gradient(to right, transparent, #2c3342, transparent);
}