/*
 * Custom Pages CSS
 * Extracted from inline styles and <style> tags in blade views to improve maintainability and SEO.
 */

/* =========================================
   Homepage (index.blade.php) Styles
   ========================================= */

.hero-main-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-main-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* =========================================
   Ticket System Styles
   ========================================= */
/* Status */
.t-status {
    font-size: 11.5px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 50px;
    display: inline-block;
}
.t-status-open { background: rgba(236,183,4,0.12); color: #b08902; }
.t-status-answered { background: rgba(22,163,74,0.12); color: #15803d; }
.t-status-closed { background: rgba(220,38,38,0.1); color: #b91c1c; }

/* Chat */
.chat-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.chat-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.chat-user {
    flex-direction: row-reverse;
}
.avatar-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.chat-bubble {
    background: #fff;
    border-radius: 18px;
    padding: 16px 20px;
    border: 1px solid rgba(236,183,4,0.12);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    max-width: 85%;
    position: relative;
}
.chat-user .chat-bubble {
    background: #faf8f0;
    border-color: rgba(236,183,4,0.25);
    border-top-left-radius: 4px;
}
.chat-admin .chat-bubble {
    background: #fff;
    border-top-right-radius: 4px;
}
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 15px;
    border-bottom: 1px dashed rgba(0,0,0,0.08);
    padding-bottom: 8px;
}
.chat-name {
    font-size: 14px;
    font-weight: 800;
    color: #1a1a1a;
}
.chat-time {
    font-size: 11.5px;
    color: #888;
    font-weight: 600;
}
.chat-text {
    font-size: 14.5px;
    line-height: 1.8;
    color: #333;
}
.chat-attachment {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid rgba(236,183,4,0.3);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #b08902;
    text-decoration: none;
    transition: all 0.2s;
}
.chat-attachment:hover {
    background: #fef9e6;
    color: #856700;
}
.chat-user .chat-attachment {
    background: #fff;
}

/* Forms */
.custom-input {
    background: #faf8f0;
    border: 1px solid rgba(236,183,4,0.15);
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 14.5px;
    color: #1a1a1a;
    transition: all 0.25s;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.01);
}
.custom-input:focus {
    background: #fff;
    border-color: #ecb704;
    box-shadow: 0 0 0 4px rgba(236,183,4,0.15);
    outline: none;
}
.file-input {
    background: #faf8f0;
    border: 1px dashed rgba(236,183,4,0.4);
    border-radius: 14px;
    padding: 10px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}

@media (max-width: 576px) {
    .chat-bubble { max-width: 92%; }
    .avatar-circle { width: 38px; height: 38px; }
    .chat-header { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* Ticket List Grid */
.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.t-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    text-decoration: none;
    border: 1px solid rgba(236,183,4,0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: all 0.25s ease;
}
.t-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(236,183,4,0.12);
    border-color: rgba(236,183,4,0.3);
}
.t-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.t-id {
    font-size: 12px;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.5px;
}
.t-subject {
    font-size: 15.5px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.5;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.t-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed rgba(0,0,0,0.06);
}
.t-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #888;
    font-weight: 600;
}
.t-action {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 800;
    color: #ecb704;
    transition: gap 0.2s;
}
.t-card:hover .t-action {
    gap: 8px;
}
@media (max-width: 576px) {
    .tickets-grid { grid-template-columns: 1fr; }
}

/* =========================================
   User Dashboard Styles
   ========================================= */
/* ===== Stats ===== */
.db-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 1.25rem;
}
.db-stat-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.1rem 1rem;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(236,183,4,0.12);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.25s, box-shadow 0.25s;
}
.db-stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.09); }
.db-stat-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.db-stat-icon svg { width: 24px; height: 24px; }
.db-stat-val {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 4px;
}
.db-stat-lbl {
    font-size: 12px;
    color: rgba(54,72,86,0.5);
    font-weight: 600;
}

/* ===== Section head ===== */
.db-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.db-view-all {
    font-size: 13px;
    font-weight: 700;
    color: #c49a00;
    text-decoration: none;
    transition: opacity 0.2s;
}
.db-view-all:hover { opacity: 0.7; color: #c49a00; }

/* ===== Courses ===== */
.db-courses { display: flex; flex-direction: column; gap: 12px; }
.db-course-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 14px;
    background: #faf8f0;
    transition: background 0.2s;
}
.db-course-item:hover { background: #fef9e6; }
.db-course-thumb {
    width: 64px; height: 64px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0ead0;
}
.db-course-thumb img { width: 100%; height: 100%; object-fit: cover; }
.db-course-info { flex: 1; min-width: 0; }
.db-course-name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.db-course-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(54,72,86,0.5);
    margin: 0;
}
.db-course-meta svg { width: 13px; height: 13px; }
.db-course-actions { display: flex; gap: 6px; }
.db-btn-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    border: 1.5px solid #e8dfa0;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
}
.db-btn-icon svg { width: 17px; height: 17px; }
.db-btn-icon:hover { border-color: #ecb704; color: #c49a00; background: #fffbea; }

/* ===== Empty ===== */
.db-empty {
    text-align: center;
    padding: 2rem;
    color: rgba(54,72,86,0.45);
}
.db-empty svg { width: 52px; height: 52px; margin-bottom: 12px; }
.db-empty p { font-size: 13.5px; margin-bottom: 1rem; }
.db-btn-yellow {
    display: inline-block;
    background: linear-gradient(135deg,#ecb704,#f5c842);
    color: #1a1a1a;
    font-weight: 700;
    font-size: 13px;
    padding: 9px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(236,183,4,0.3);
}
.db-btn-yellow:hover { box-shadow: 0 6px 22px rgba(236,183,4,0.45); color: #1a1a1a; }

/* ===== Quick Actions ===== */
.db-quick-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    margin-top: 0;
}
.db-quick-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    border: 1px solid rgba(236,183,4,0.12);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.25s;
}
.db-quick-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(236,183,4,0.18);
    border-color: rgba(236,183,4,0.35);
}
.db-quick-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: #fef9e6;
    border: 1px solid rgba(236,183,4,0.2);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: #c49a00;
}
.db-quick-icon svg { width: 20px; height: 20px; }
.db-quick-text { flex: 1; min-width: 0; }
.db-quick-text h3 { font-size: 13.5px; font-weight: 700; color: #1a1a1a; margin: 0 0 3px; }
.db-quick-text p { font-size: 11.5px; color: rgba(54,72,86,0.45); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-quick-arrow { width: 16px; height: 16px; color: rgba(54,72,86,0.3); flex-shrink: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .db-stats { grid-template-columns: repeat(2,1fr); }
    .db-quick-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .db-stats { grid-template-columns: repeat(2,1fr); gap: 10px; }
    .db-stat-card { padding: 0.85rem 0.75rem; gap: 10px; }
    .db-stat-icon { width: 44px; height: 44px; border-radius: 12px; }
    .db-stat-val { font-size: 1.25rem; }
    .db-quick-card { padding: 0.9rem; }
}

/* =========================================
   My Courses Styles
   ========================================= */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.course-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid rgba(236,183,4,0.15);
}

.course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(236,183,4,0.15);
}

.course-thumb-box {
    position: relative;
    height: 180px;
    background: #f0ead0;
    width: 100%;
}

.course-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 15px rgba(22,163,74,0.3);
}
.course-badge svg { width: 14px; height: 14px; stroke: currentColor; }

.course-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-title {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.4;
}

.course-desc {
    font-size: 13px;
    color: rgba(54,72,86,0.6);
    line-height: 1.6;
    margin: 0 0 1rem;
    flex: 1;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(236,183,4,0.2);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #364856;
    font-weight: 600;
}
.meta-item svg { width: 15px; height: 15px; stroke: #c49a00; }

.course-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-outline-yellow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 12px;
    border: 1.5px solid #e8dfa0;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    background: transparent;
}
.btn-outline-yellow:hover {
    border-color: #ecb704;
    background: #fffbea;
    color: #1a1a1a;
}
.btn-outline-yellow svg { width: 16px; height: 16px; }

.btn-solid-yellow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ecb704, #f5c842);
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    box-shadow: 0 4px 15px rgba(236,183,4,0.3);
}
.btn-solid-yellow:hover {
    box-shadow: 0 6px 20px rgba(236,183,4,0.45);
    color: #1a1a1a;
    transform: translateY(-2px);
}
.btn-solid-yellow svg { width: 16px; height: 16px; }

/* =========================================
   My Website Styles
   ========================================= */
.plan-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.plan-header-content {
    display: flex;
    gap: 20px;
    align-items: center;
}

.plan-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plan-icon svg {
    stroke: #fff;
}

.plan-name {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 5px;
}

.plan-date {
    color: #888;
    font-size: 14px;
    margin: 0;
}

.plan-status {
    display: flex;
    gap: 10px;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.status-active {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #fff;
}

.plan-description {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.plan-description p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.plan-features {
    margin-bottom: 25px;
}

.features-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #555;
    font-size: 14px;
}

.feature-item svg {
    stroke: #10b981;
    flex-shrink: 0;
}

.plan-files {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #fff9c4 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px dashed #ffc107;
}

.files-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.files-title svg {
    stroke: #ffc107;
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.file-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

.file-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.file-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.file-icon svg {
    stroke: #fff;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.file-type {
    display: block;
    font-size: 12px;
    color: #888;
}

.plan-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.plan-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-label {
    font-size: 13px;
    color: #888;
}

.price-value {
    font-size: 20px;
    font-weight: 800;
    color: #667eea;
}

.plan-actions {
    display: flex;
    gap: 10px;
}

.btn-plan {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-details {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-details:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: #fff;
}

@media (max-width: 768px) {
    .plan-header {
        flex-direction: column;
        gap: 15px;
    }

    .plan-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .files-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Order Details Styles
   ========================================= */
.page-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
}

.status-banner .alert {
    border-radius: 15px;
    border: none;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.info-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    height: 100%;
}

.info-card .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
}

.info-card .card-header h5 {
    margin: 0;
    font-size: 16px;
}

.info-card .card-body {
    padding: 20px;
}

.info-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 12px 0;
}

.info-table .label {
    width: 40%;
    color: #6c757d;
    font-weight: 500;
}

.info-table .value {
    color: #333;
}

.plan-description {
    color: #6c757d;
    line-height: 1.8;
}

.files-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
}

.files-card .card-header {
    padding: 20px;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.files-grid {
    display: grid;
    gap: 15px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.file-item:hover {
    background: #e9ecef;
    transform: translateX(-5px);
}

.file-icon {
    font-size: 40px;
}

.file-info {
    flex: 1;
}

.file-name {
    margin: 0 0 8px 0;
    font-size: 15px;
    color: #333;
}

.file-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #6c757d;
}

.file-actions {
    flex-shrink: 0;
}

.empty-files {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

@media (max-width: 768px) {
    .file-item {
        flex-direction: column;
        text-align: center;
    }

    .file-meta {
        flex-direction: column;
        gap: 5px;
    }

    .info-table .label,
    .info-table .value {
        display: block;
        width: 100%;
    }
}

/* =========================================
   My Orders Styles
   ========================================= */
.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.order-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}

.order-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.order-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(236,183,4,0.12);
    background: #faf8f0;
}

.order-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ecb704, #f5c842);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1a1a1a;
}
.order-icon svg { width: 22px; height: 22px; stroke: currentColor; }

.order-info { flex: 1; min-width: 0; }
.order-title {
    font-size: 15px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.order-date {
    font-size: 12px;
    color: rgba(54,72,86,0.5);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.order-id {
    background: #f0ead0;
    color: #1a1a1a;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 700;
    font-family: monospace;
}

.order-details {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
}
.detail-lbl {
    color: rgba(54,72,86,0.6);
    font-weight: 600;
}
.detail-val {
    font-weight: 800;
    color: #1a1a1a;
}
.detail-val.price {
    color: #c49a00;
}
.detail-val.status {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
}
.detail-val.status.success { background: rgba(22,163,74,0.1); color: #15803d; }
.detail-val.status.warning { background: rgba(245,158,11,0.1); color: #b45309; }
.detail-val.status.danger { background: rgba(220,38,38,0.1); color: #b91c1c; }
.detail-val.status.default { background: #f0f0f0; color: #666; }
.detail-val.track {
    font-family: monospace;
    letter-spacing: 1px;
}

.order-footer {
    padding: 1rem 1.25rem;
    border-top: 1px dashed rgba(236,183,4,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.btn-outline-yellow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1.5px solid #e8dfa0;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    background: transparent;
}
.btn-outline-yellow:hover {
    border-color: #ecb704;
    background: #fffbea;
    color: #1a1a1a;
}

.order-file-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #0369a1;
    background: rgba(14,165,233,0.1);
    padding: 6px 10px;
    border-radius: 8px;
}
.order-file-badge svg { width: 14px; height: 14px; stroke: currentColor; }

/* Pagination Styling */
.pagination-wrapper nav > ul {
    margin-bottom: 0;
    justify-content: center;
}
.page-item.active .page-link {
    background-color: #ecb704;
    border-color: #ecb704;
    color: #1a1a1a;
    font-weight: 700;
}
.page-link {
    color: #364856;
    border-radius: 8px !important;
    margin: 0 3px;
    border: 1px solid #e8dfa0;
}
.page-link:hover {
    background-color: #fef9e6;
    color: #c49a00;
    border-color: #ecb704;
}

/* =========================================
   User Profile Styles
   ========================================= */
.profile-image-upload {
    padding: 30px 0;
}

.avatar-preview-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.avatar-preview-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.upload-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.upload-hint {
    font-size: 12px;
    color: #888;
    margin-top: 15px;
    margin-bottom: 0;
}

/* Info Items */
.info-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 13px;
    color: #888;
    margin-bottom: 5px;
}

.info-value {
    font-size: 15px;
    color: #2c3e50;
    font-weight: 600;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-custom {
    margin-bottom: 25px;
}

.form-label-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.form-label-custom svg {
    color: #667eea;
}

.form-input-custom {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-input-custom:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 13px;
    margin-top: 8px;
}

/* Buttons */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-save, .btn-save-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.btn-save {
    width: 100%;
    margin-top: 20px;
}

.btn-save:hover, .btn-save-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
}

.btn-cancel:hover {
    background: #e9ecef;
    color: #2c3e50;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }
}

/* =========================================
   Cart Page Styles
   ========================================= */
.cart-page {
    background: linear-gradient(180deg, #fff9c4 0%, #ffffff 30%);
    padding: 40px 0 80px;
    min-height: 70vh;
}

.cart-header {
    margin-bottom: 40px;
}

.cart-title {
    font-size: 32px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 10px;
}

.cart-subtitle {
    color: #666;
    font-size: 16px;
}

/* Cart Items Card */
.cart-items-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

.cart-items-header {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #fff;
    padding: 20px 30px;
}

.items-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.cart-items-body {
    padding: 10px;
}

/* Cart Item */
.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cart-item:hover {
    background: #fff;
    border-color: #ffc107;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.item-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex: 1;
}

.item-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.item-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.item-title a:hover {
    color: #ffc107;
}

.item-type {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.item-price {
    flex-shrink: 0;
    text-align: left;
}

.price-value {
    font-size: 20px;
    font-weight: 800;
    color: #ffc107;
}

.price-currency {
    font-size: 13px;
    color: #888;
    margin-right: 5px;
}

.item-remove {
    flex-shrink: 0;
}

.btn-remove {
    background: #fff;
    border: 2px solid #dc3545;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove svg {
    color: #dc3545;
}

.btn-remove:hover {
    background: #dc3545;
}

.btn-remove:hover svg {
    color: #fff;
}

/* Order Summary */
.order-summary-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

.sticky-summary {
    position: sticky;
    top: 100px;
}

.summary-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 20px 25px;
}

.summary-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.summary-body {
    padding: 25px;
}

/* Discount Section */
.discount-section {
    margin-bottom: 20px;
}

.discount-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.discount-label svg {
    color: #ffc107;
}

.discount-input-group {
    display: flex;
    gap: 10px;
}

.discount-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.discount-input:focus {
    outline: none;
    border-color: #ffc107;
}

.btn-apply-discount {
    padding: 12px 24px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-apply-discount:hover:not(:disabled) {
    background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
    transform: translateY(-2px);
}

.btn-apply-discount:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.discount-input:disabled {
    background: #f8f9fa;
    cursor: not-allowed;
}

.discount-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    display: none;
}

.discount-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.discount-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.summary-divider {
    height: 1px;
    background: #e9ecef;
    margin: 20px 0;
}

/* Price Details */
.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.price-label {
    color: #666;
    font-size: 14px;
}

.price-amount {
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.discount-row .discount-label-text {
    color: #28a745;
}

.discount-row .discount-amount {
    color: #28a745;
}

/* Total Section */
.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
}

.total-amount {
    font-size: 24px;
    font-weight: 800;
    color: #ffc107;
}

/* Checkout Button */
.btn-checkout {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: space-around;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
}

.trust-item svg {
    color: #28a745;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart-icon {
    margin-bottom: 30px;
}

.empty-cart-icon svg {
    color: #ddd;
}

.empty-cart-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.empty-cart-text {
    color: #888;
    font-size: 16px;
    margin-bottom: 30px;
}

.btn-browse-courses {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-browse-courses:hover {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    transform: translateY(-2px);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-item {
        flex-wrap: wrap;
        gap: 15px;
    }

    .item-price, .item-remove {
        width: 100%;
    }

    .sticky-summary {
        position: static;
        margin-top: 20px;
    }

    .cart-title {
        font-size: 24px;
    }
}

/* =========================================
   Portfolio List Page — Toroobche Brand
   ========================================= */

.pf-list-page {
    background: var(--bgColor, #f6f6f6);
    min-height: 100vh;
    padding-top: 0;
}

/* ── Hero ── */
.pf-list-hero {
    position: relative;
    background: #3F3D39;
    overflow: hidden;
    padding: 164px 0 90px;
    margin-bottom: -50px;
}

.pf-list-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(255,214,0,.18) 0%, transparent 65%),
                radial-gradient(ellipse 50% 60% at 10% 80%, rgba(255,214,0,.1) 0%, transparent 55%);
    pointer-events: none;
}

.pf-list-hero__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,214,0,.15) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: .5;
}

.pf-list-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.pf-list-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,214,0,.15);
    border: 1px solid rgba(255,214,0,.35);
    border-radius: 100px;
    padding: 6px 18px;
    color: #FFD600;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
    letter-spacing: .3px;
}

.pf-list-hero__badge i { font-size: 12px; }

.pf-list-hero__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 16px;
}

.pf-list-hero__title span {
    color: #FFD600;
    position: relative;
}

.pf-list-hero__title span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    left: 0;
    height: 3px;
    background: #FFD600;
    border-radius: 2px;
    opacity: .5;
}

.pf-list-hero__sub {
    color: rgba(255,255,255,.65);
    font-size: 15px;
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.pf-list-hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.pf-list-hero__stat {
    text-align: center;
}

.pf-list-hero__stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #FFD600;
    line-height: 1;
}

.pf-list-hero__stat-lbl {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,.55);
    margin-top: 4px;
}

.pf-list-hero__stat-div {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,.15);
}

/* ── Filter Card ── */
.pf-list-filter-wrap {
    position: relative;
    z-index: 10;
    margin-bottom: 48px;
}

.pf-list-filter-card {
    background: var(--boxBg, #fff);
    border-radius: 20px;
    border: 1.5px solid #000;
    box-shadow: 4px 4px 0 #000;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pf-list-filter-card__label {
    font-weight: 700;
    font-size: 13px;
    color: var(--colorGrey, #A1a1a1);
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pf-list-filter-card__label::after {
    content: '';
    display: block;
    width: 1px;
    height: 24px;
    background: #e0e0e0;
    margin-right: 4px;
}

.pf-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.pf-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1.5px solid transparent;
    background: #f4f4f4;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .22s ease;
    white-space: nowrap;
    font-family: inherit;
}

.darkMode .pf-filter-tab {
    background: #222;
    color: #ccc;
}

.pf-filter-tab i {
    font-size: 11px;
    opacity: .7;
}

.pf-filter-tab:hover {
    background: #fff0b8;
    border-color: #FFD600;
    color: #3F3D39;
}

.pf-filter-tab.active {
    background: #FFD600;
    border-color: #000;
    color: #000;
    box-shadow: 2px 2px 0 #000;
    transform: translateY(-1px);
}

.pf-filter-tab.active i { opacity: 1; }

/* ── Grid ── */
.pf-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 991px) {
    .pf-list-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 599px) {
    .pf-list-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ── Portfolio Card ── */
.pf-card-item {
    background: var(--boxBg, #fff);
    border-radius: 20px;
    border: 1.5px solid #000;
    box-shadow: 5px 5px 0 #000;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    animation: pf-card-in .5s ease forwards;
}

.pf-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 8px 10px 0 #000;
}

@keyframes pf-card-in {
    to { opacity: 1; transform: translateY(0); }
}

/* stagger */
.pf-card-item:nth-child(1) { animation-delay: .05s; }
.pf-card-item:nth-child(2) { animation-delay: .12s; }
.pf-card-item:nth-child(3) { animation-delay: .19s; }
.pf-card-item:nth-child(4) { animation-delay: .26s; }
.pf-card-item:nth-child(5) { animation-delay: .33s; }
.pf-card-item:nth-child(6) { animation-delay: .40s; }

.pf-card-item__img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: #f0f0f0;
    flex-shrink: 0;
}

.pf-card-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.pf-card-item:hover .pf-card-item__img {
    transform: scale(1.06);
}

.pf-card-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s ease;
}

.pf-card-item:hover .pf-card-item__overlay { opacity: 1; }

.pf-card-item__cat-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #FFD600;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid #000;
    box-shadow: 2px 2px 0 #000;
    z-index: 3;
}

.pf-card-item__hover-btn {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    transition: all .3s ease;
    background: #fff;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 10px;
    border: 1.5px solid #000;
    box-shadow: 2px 2px 0 #000;
    white-space: nowrap;
    z-index: 4;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pf-card-item:hover .pf-card-item__hover-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.pf-card-item__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pf-card-item__title {
    font-size: 16px;
    font-weight: 800;
    color: var(--colorBlack, #000);
    margin-bottom: 10px;
    line-height: 1.5;
}

.pf-card-item__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed #e0e0e0;
}

.pf-card-item__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #3F3D39;
    color: #FFD600;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1.5px solid #000;
    box-shadow: 2px 2px 0 #000;
    text-decoration: none;
    transition: all .2s ease;
}

.pf-card-item__link:hover {
    background: #FFD600;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 3px 4px 0 #000;
}

.pf-card-item__link i {
    font-size: 11px;
    transition: transform .2s ease;
}

.pf-card-item__link:hover i {
    transform: translateX(-3px);
}

.pf-card-item__view-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    color: #888;
    font-size: 14px;
    transition: all .2s ease;
    text-decoration: none;
}

.pf-card-item__view-icon:hover {
    background: #fff0b8;
    border-color: #FFD600;
    color: #3F3D39;
}

/* ── No Results ── */
.pf-list-empty {
    text-align: center;
    padding: 80px 20px;
    display: none;
}

.pf-list-empty__icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: #fff0b8;
    border: 2px solid #FFD600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.pf-list-empty h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--colorBlack, #000);
    margin-bottom: 8px;
}

.pf-list-empty p {
    color: var(--colorGrey, #A1a1a1);
    font-size: 14px;
}

/* ── Loading State ── */
#portfolio-container.pf-loading {
    opacity: .4;
    pointer-events: none;
    transition: opacity .2s;
}

/* ── CTA ── */
.pf-list-cta {
    margin: 64px 0 0;
    background: #3F3D39;
    border-radius: 24px;
    border: 2px solid #000;
    box-shadow: 6px 6px 0 #000;
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pf-list-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,214,0,.12) 0%, transparent 70%);
    pointer-events: none;
}

.pf-list-cta__inner { position: relative; z-index: 2; }

.pf-list-cta__title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
}

.pf-list-cta__title span { color: #FFD600; }

.pf-list-cta__sub {
    color: rgba(255,255,255,.6);
    font-size: 14px;
    margin-bottom: 28px;
}

.pf-list-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFD600;
    color: #000;
    font-size: 14px;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: 12px;
    border: 2px solid #000;
    box-shadow: 4px 4px 0 #000;
    text-decoration: none;
    transition: all .22s ease;
    cursor: pointer;
    font-family: inherit;
}

.pf-list-cta__btn:hover {
    transform: translateY(-3px);
    box-shadow: 6px 7px 0 #000;
    color: #000;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .pf-list-hero { padding: 60px 0 80px; }
    .pf-list-hero__stat-div { display: none; }
    .pf-list-hero__stats { gap: 24px; }
    .pf-list-filter-card { flex-direction: column; align-items: flex-start; }
    .pf-list-filter-card__label::after { display: none; }
    .pf-filter-tabs { gap: 6px; }
    .pf-list-cta { padding: 36px 20px; }
    .pf-card-item__img-wrap { height: 190px; }
}


/* Terms Page Styles */
/* Variables */
    :root {
        --primary-color: #ecb704;
        --primary-light: rgba(236, 183, 4, 0.1);
        --primary-glow: rgba(236, 183, 4, 0.3);
        --text-main: var(--bs-heading-color, #2c3e50);
        --text-muted: var(--bs-body-color, #6c757d);
        --bg-card: var(--bs-body-bg, #ffffff);
        --border-color: var(--bs-border-color-translucent, rgba(0,0,0,0.08));
    }

    /* Hero Section */
    .terms-hero {
        position: relative;
        padding: 9rem 0 4rem;
        background: linear-gradient(135deg, var(--bg-card) 0%, var(--primary-light) 100%);
        border-bottom: 1px solid var(--border-color);
        overflow: hidden;
        margin-bottom: -3rem;
    }
    .terms-hero::before {
        content: '';
        position: absolute;
        width: 300px;
        height: 300px;
        background: var(--primary-color);
        filter: blur(100px);
        opacity: 0.15;
        top: -100px;
        right: -100px;
        border-radius: 50%;
        z-index: 0;
    }
    .terms-hero-content {
        position: relative;
        z-index: 1;
    }
    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--primary-color);
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
        margin-bottom: 1.5rem;
    }

    /* Main Layout */
    .terms-container {
        position: relative;
        z-index: 2;
    }

    /* Content Cards */
    .terms-main-card {
        background: var(--bg-card);
        border-radius: 24px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.04);
        border: 1px solid var(--border-color);
        padding: 3rem;
        margin-bottom: 3rem;
    }

    .rule-item {
        display: flex;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
        position: relative;
    }
    .rule-item:last-child {
        margin-bottom: 0;
    }
    .rule-item::after {
        content: '';
        position: absolute;
        right: 28px;
        top: 60px;
        bottom: -2.5rem;
        width: 2px;
        background: var(--border-color);
        z-index: 0;
    }
    .rule-item:last-child::after {
        display: none;
    }

    .rule-icon-wrapper {
        position: relative;
        z-index: 1;
        flex-shrink: 0;
        width: 58px;
        height: 58px;
        background: var(--bg-card);
        border: 2px solid var(--primary-color);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        box-shadow: 0 8px 20px var(--primary-light);
        transition: all 0.3s ease;
    }
    .rule-item:hover .rule-icon-wrapper {
        transform: translateY(-3px) scale(1.05);
        background: var(--primary-color);
        color: #fff;
        box-shadow: 0 12px 25px var(--primary-glow);
    }

    .rule-content {
        flex-grow: 1;
        padding-top: 10px;
    }
    .rule-title {
        font-size: 1.25rem;
        font-weight: 800;
        color: var(--text-main);
        margin-bottom: 0.75rem;
        letter-spacing: -0.5px;
    }
    .rule-text {
        color: var(--text-muted);
        line-height: 1.8;
        font-size: 1rem;
        margin-bottom: 0;
        opacity: 0.9;
    }
    .rule-text ul {
        padding-right: 1.5rem;
        margin-top: 0.5rem;
    }
    .rule-text li {
        margin-bottom: 0.5rem;
    }

    /* Footer Banner */
    .terms-footer-banner {
        background: linear-gradient(135deg, var(--primary-color) 0%, #d4a402 100%);
        border-radius: 20px;
        padding: 2rem;
        text-align: center;
        color: #fff;
        box-shadow: 0 15px 30px var(--primary-glow);
        position: relative;
        overflow: hidden;
    }
    .terms-footer-banner::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+PC9zdmc+') repeat;
        opacity: 0.5;
    }
    .terms-footer-banner h5 {
        position: relative;
        z-index: 1;
        font-weight: 800;
        font-size: 1.25rem;
        margin: 0;
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    /* Responsive */
    @media (max-width: 768px) {
        .terms-main-card {
            padding: 1.5rem;
        }
        .rule-item {
            flex-direction: column;
            gap: 1rem;
        }
        .rule-item::after {
            display: none;
        }
        .rule-content {
            padding-top: 0;
        }
        .rule-icon-wrapper {
            width: 48px;
            height: 48px;
        }
    }
