/* User Dashboard - Exact Match Design */
/* Override body background for dashboard pages */
body {
    background: #000000 !important;
}

html {
    background: #000000;
}

.user-dashboard-layout {
    display: flex;
    justify-content: center;
    gap: 32px;
    min-height: calc(100vh - 80px);
    background: #000000;
    color: #ffffff;
    padding: 24px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Sidebar - Dark Left Panel */
.dashboard-sidebar {
    width: 280px;
    background: #0d0d0d;
    padding: 32px 24px;
    border-radius: 24px;
    border: 1px solid #1a1a1a;
    display: flex;
    flex-direction: column;
    gap: 32px;
    height: fit-content;
    flex-shrink: 0;
}

.sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: #4a4a4a;
    margin: 0 0 12px 16px;
    text-transform: uppercase;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    color: #999999;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid transparent;
}

.sidebar-link:hover {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #2a2a2a;
}

.sidebar-link.active {
    background: linear-gradient(90deg, #ff4b7a 0%, #ff6b9d 100%);
    color: #ffffff;
    border-color: transparent;
}

.sidebar-link svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.sidebar-footer {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* Main Content Area */
.dashboard-main {
    flex: 1;
    padding: 0;
    max-width: 700px;
    width: 100%;
}

/* Profile Card */
.profile-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: #1a1a1a;
    border-radius: 12px;
    margin-bottom: 24px;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: #2a2a2a;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-name {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

.profile-email {
    font-size: 13px;
    color: #666666;
    margin: 0;
}

.btn-subscribe {
    padding: 10px 28px;
    background: linear-gradient(90deg, #ff4b7a 0%, #ff6b9d 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-subscribe:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 75, 122, 0.4);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: #1a1a1a;
    padding: 20px 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(255, 75, 122, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
    color: #ff4b7a;
}

.stat-icon.stat-success {
    background: rgba(52, 211, 153, 0.15);
}

.stat-icon.stat-success svg {
    color: #34d399;
}

.stat-icon.stat-warning {
    background: rgba(251, 191, 36, 0.15);
}

.stat-icon.stat-warning svg {
    color: #fbbf24;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: #666666;
    font-weight: 500;
}

.stat-label {
    font-size: 12px;
    color: #666666;
    margin: 0;
    font-weight: 500;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

/* My List Section */
.my-list-section {
    background: #1a1a1a;
    padding: 24px 28px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.section-link {
    font-size: 13px;
    color: #ff4b7a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.section-link:hover {
    color: #ff6b9d;
}

.empty-state {
    padding: 12px 0;
}

.empty-state p {
    font-size: 14px;
    color: #666666;
    margin: 0;
}

/* Continue Watching Section */
.continue-watching-section {
    margin-top: 32px;
}

.section-subtitle {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #ffffff;
}

.drama-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.drama-card {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s ease;
}

.drama-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.drama-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 140%;
    background: #0d0d0d;
    overflow: hidden;
}

.drama-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff4b7a 0%, #ff6b9d 100%);
}

.drama-info {
    padding: 12px;
}

.drama-title {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drama-meta {
    font-size: 11px;
    color: #666666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .user-dashboard-layout {
        flex-direction: column;
        padding: 16px;
    }

    .dashboard-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding: 20px;
    }

    .sidebar-section {
        flex-direction: row;
        min-width: max-content;
    }

    .sidebar-title {
        display: none;
    }

    .sidebar-nav {
        flex-direction: row;
    }

    .dashboard-main {
        padding: 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .drama-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media (max-width: 576px) {
    .profile-card {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .profile-info {
        flex-direction: column;
    }

    .btn-subscribe {
        width: 100%;
    }

    .drama-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Scrollbar */
.dashboard-sidebar::-webkit-scrollbar {
    height: 4px;
}

.dashboard-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 2px;
}

.dashboard-sidebar::-webkit-scrollbar-thumb:hover {
    background: #444444;
}


/* Subscription Page Styles */
.page-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.page-description {
    font-size: 14px;
    color: #666666;
    margin: 0 0 32px 0;
}

/* Current Subscription Card */
.current-subscription-card {
    background: #1a1a1a;
    padding: 28px 32px;
    border-radius: 16px;
    margin-bottom: 40px;
    position: relative;
    border: 1px solid rgba(255, 75, 122, 0.3);
}

.subscription-badge-status {
    position: absolute;
    top: 20px;
    right: 32px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.subscription-badge-status.active {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
}

.current-subscription-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: #ffffff;
}

.subscription-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-label {
    font-size: 12px;
    color: #666666;
    font-weight: 500;
}

.detail-value {
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
}

/* No Subscription Card */
.no-subscription-card {
    background: #1a1a1a;
    padding: 48px 32px;
    border-radius: 16px;
    margin-bottom: 40px;
    text-align: center;
    border: 1px solid #2a2a2a;
}

.no-subscription-card svg {
    color: #666666;
    margin-bottom: 16px;
}

.no-subscription-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.no-subscription-card p {
    font-size: 14px;
    color: #666666;
    margin: 0;
}

/* Section Title */
.section-title-sub {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #ffffff;
}

/* Subscription Plans Grid */
.subscription-plans-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 48px;
}

.plan-card {
    background: #1a1a1a;
    padding: 14px 22px;
    border-radius: 11px;
    border: 2px solid #2a2a2a;
    transition: all 0.3s ease;
    position: relative;
    display: grid;
    grid-template-columns: 170px 150px 1fr 125px;
    align-items: center;
    gap: 22px;
}

.plan-card:hover {
    border-color: rgba(255, 75, 122, 0.5);
}

.plan-card.current {
    border-color: #ff4b7a;
    background: linear-gradient(90deg, rgba(255, 75, 122, 0.1) 0%, rgba(255, 107, 157, 0.05) 100%);
}

.plan-badge {
    position: absolute;
    top: 10px;
    right: 20px;
    padding: 3px 10px;
    background: linear-gradient(90deg, #ff4b7a 0%, #ff6b9d 100%);
    color: white;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.plan-name-section {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.plan-name {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    line-height: 1.15;
}

.plan-duration {
    font-size: 11.5px;
    color: #666666;
    margin: 0;
    line-height: 1.15;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.plan-price .currency {
    font-size: 12px;
    color: #666666;
}

.plan-price .amount {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 4.5px;
    font-size: 11.5px;
    color: #cccccc;
    white-space: nowrap;
    line-height: 1;
}

.plan-features li svg {
    color: #34d399;
    flex-shrink: 0;
    width: 12px;
    height: 12px;
}

.plan-action {
    display: flex;
    justify-content: flex-end;
}

.btn-plan {
    padding: 8.5px 22px;
    background: linear-gradient(90deg, #ff4b7a 0%, #ff6b9d 100%);
    color: white;
    border: none;
    border-radius: 6.5px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1;
}

.btn-plan:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 75, 122, 0.4);
}

.btn-plan.current {
    background: #2a2a2a;
    color: #666666;
    cursor: not-allowed;
}

/* Subscription History */
.subscription-history {
    background: #1a1a1a;
    padding: 24px;
    border-radius: 16px;
    overflow-x: auto;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table thead tr {
    border-bottom: 1px solid #2a2a2a;
}

.history-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-table td {
    padding: 16px;
    font-size: 14px;
    color: #cccccc;
    border-bottom: 1px solid #2a2a2a;
}

.history-table tbody tr:last-child td {
    border-bottom: none;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.status-badge.active {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
}

.status-badge.expired {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.status-badge.cancelled {
    background: rgba(156, 163, 175, 0.15);
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 992px) {
    .plan-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px;
    }

    .plan-features {
        flex-direction: column;
        gap: 8px;
    }

    .plan-action {
        justify-content: stretch;
    }

    .btn-plan {
        width: 100%;
    }

    .subscription-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .subscription-details-grid {
        grid-template-columns: 1fr;
    }

    .history-table {
        font-size: 12px;
    }

    .history-table th,
    .history-table td {
        padding: 8px;
    }
}

/* Coupon/Rewards Page Styles */
.section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.winnings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.winning-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 24px;
    border-radius: 16px;
    border: 2px solid #34d399;
    position: relative;
}

.winning-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

.winning-badge svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.winning-prize {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.winning-desc {
    font-size: 13px;
    color: #999999;
    margin: 0 0 12px 0;
}

.winning-value {
    font-size: 24px;
    font-weight: 700;
    color: #34d399;
    margin-bottom: 8px;
}

.winning-ticket {
    font-size: 12px;
    color: #666666;
    margin-bottom: 16px;
}

.btn-claim {
    width: 100%;
    padding: 10px;
    background: linear-gradient(90deg, #34d399 0%, #10b981 100%);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-claim:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 211, 153, 0.4);
}

.claimed-badge {
    text-align: center;
    padding: 10px;
    background: #2a2a2a;
    color: #666666;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.draws-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.draw-card {
    background: #1a1a1a;
    padding: 24px;
    padding-top: 48px;
    border-radius: 16px;
    border: 2px solid #2a2a2a;
    position: relative;
}

.draw-status {
    position: absolute;
    top: 16px;
    right: 20px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.draw-status.active {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
}

.draw-status.upcoming {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.draw-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    padding-right: 140px;
}

.draw-desc {
    font-size: 13px;
    color: #999999;
    margin: 0 0 16px 0;
}

.draw-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.draw-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #cccccc;
}

.draw-info-item svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.btn-outline {
    display: block;
    width: 100%;
    padding: 10px;
    background: transparent;
    color: #ff4b7a;
    border: 2px solid #ff4b7a;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: #ff4b7a;
    color: #ffffff;
}

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.ticket-card {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #2a2a2a;
    transition: all 0.2s ease;
}

.ticket-card:hover {
    border-color: #ff4b7a;
}

.ticket-card.winner {
    border-color: #34d399;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.ticket-code {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Courier New', monospace;
}

.ticket-status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.ticket-status-badge.active {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
}

.ticket-status-badge.used {
    background: rgba(156, 163, 175, 0.15);
    color: #9ca3af;
}

.ticket-status-badge.expired {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.ticket-status-badge.winner {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.ticket-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ticket-draw {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.ticket-date,
.ticket-created {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666666;
}

.ticket-date svg {
    width: 14px;
    height: 14px;
    stroke-width: 2;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #1a1a1a;
    border-radius: 16px;
    border: 2px dashed #2a2a2a;
}

.empty-state svg {
    color: #666666;
    margin-bottom: 20px;
    stroke-width: 1.5;
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.empty-state p {
    font-size: 14px;
    color: #666666;
    margin: 0 0 24px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(90deg, #ff4b7a 0%, #ff6b9d 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 75, 122, 0.4);
}

.info-box {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    margin-top: 32px;
}

.info-box svg {
    flex-shrink: 0;
    color: #3b82f6;
    stroke-width: 2;
}

.info-box h4 {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.info-box p {
    font-size: 13px;
    color: #cccccc;
    margin: 0;
    line-height: 1.5;
}

/* Draw Detail Page */
.draw-status-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.draw-status-badge.active {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
}

.draw-status-badge.upcoming {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.draw-status-badge.completed {
    background: rgba(156, 163, 175, 0.15);
    color: #9ca3af;
}

.draw-detail-card {
    background: #1a1a1a;
    padding: 28px 32px;
    border-radius: 16px;
    margin-bottom: 40px;
    border: 1px solid #2a2a2a;
}

.draw-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.prize-card {
    background: #1a1a1a;
    padding: 24px;
    border-radius: 16px;
    border: 2px solid #2a2a2a;
    transition: all 0.3s ease;
}

.prize-card:hover {
    border-color: #ff4b7a;
    transform: translateY(-4px);
}

.prize-rank {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.prize-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.prize-desc {
    font-size: 13px;
    color: #999999;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.prize-value {
    font-size: 24px;
    font-weight: 700;
    color: #34d399;
}

.prize-quantity {
    margin-top: 8px;
    font-size: 12px;
    color: #666666;
    font-weight: 500;
}

@media (max-width: 992px) {
    .draw-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .draw-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Watch History Page */
.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.history-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #2a2a2a;
}

.history-card:hover {
    transform: translateY(-4px);
    border-color: #ff4b7a;
}

.history-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #0d0d0d;
    overflow: hidden;
}

.history-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.history-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff4b7a 0%, #ff6b9d 100%);
    transition: width 0.3s ease;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.history-card:hover .play-overlay {
    opacity: 1;
}

.history-info {
    padding: 16px;
}

.history-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-episode {
    font-size: 13px;
    color: #999999;
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666666;
}

.history-progress {
    color: #ff4b7a;
    font-weight: 600;
}

/* History List */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.history-list-item {
    display: flex;
    gap: 16px;
    background: #1a1a1a;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid #2a2a2a;
    transition: all 0.2s ease;
}

.history-list-item:hover {
    border-color: #ff4b7a;
}

.history-list-thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    background: #0d0d0d;
}

.history-list-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.history-list-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    margin: 0;
    transition: color 0.2s ease;
}

.history-list-title:hover {
    color: #ff4b7a;
}

.history-list-episode {
    font-size: 13px;
    color: #999999;
    margin: 0;
}

.history-list-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 12px;
    color: #666666;
    margin-top: auto;
}

.completed-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.history-list-actions {
    display: flex;
    align-items: center;
}

.btn-watch-again {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    color: #ff4b7a;
    border: 2px solid #ff4b7a;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-watch-again:hover {
    background: #ff4b7a;
    color: #ffffff;
}

.btn-watch-again svg {
    width: 14px;
    height: 14px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.btn-pagination {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #1a1a1a;
    color: #ffffff;
    border: 2px solid #2a2a2a;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-pagination:hover {
    border-color: #ff4b7a;
    color: #ff4b7a;
}

.pagination-info {
    font-size: 14px;
    color: #666666;
}

@media (max-width: 768px) {
    .history-list-item {
        flex-direction: column;
    }

    .history-list-thumbnail {
        width: 100%;
        height: 180px;
    }

    .history-list-actions {
        justify-content: stretch;
    }

    .btn-watch-again {
        width: 100%;
        justify-content: center;
    }
}


/* ===== CHECKOUT PAGE ===== */
.checkout-container {
    min-height: 100vh;
    background: #0f0f0f;
    padding: 40px 20px;
}

.checkout-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
}

.checkout-summary,
.checkout-payment {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.checkout-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.package-summary-card {
    background: #0f0f0f;
    border-radius: 12px;
    padding: 24px;
}

.package-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.package-summary-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.package-duration {
    background: linear-gradient(90deg, #ff4b7a 0%, #ff6b9d 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.package-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.package-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #d1d5db;
    font-size: 14px;
}

.package-features-list svg {
    color: #10b981;
    flex-shrink: 0;
}

.price-breakdown {
    border-top: 2px solid #2a2a2a;
    padding-top: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
    color: #9ca3af;
}

.price-row.total {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    padding-top: 16px;
    border-top: 2px dashed #2a2a2a;
    margin-top: 8px;
}

.total-amount {
    color: #ff4b7a;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.payment-method-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.payment-method-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-method-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #0f0f0f;
}

.payment-method-card input:checked + .payment-method-content {
    border-color: #ff4b7a;
    background: linear-gradient(135deg, rgba(255, 75, 122, 0.05) 0%, rgba(255, 107, 157, 0.05) 100%);
}

.payment-method-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-method-icon.bank {
    background: linear-gradient(90deg, #ff4b7a 0%, #ff6b9d 100%);
    color: white;
}

.payment-method-icon.wallet {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.payment-method-info {
    flex: 1;
}

.payment-method-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.payment-method-info p {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
}

.payment-method-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.payment-method-card input:checked ~ .payment-method-content .payment-method-check {
    background: #ff4b7a;
    border-color: #ff4b7a;
}

.payment-method-check svg {
    opacity: 0;
    color: white;
    transition: opacity 0.3s ease;
}

.payment-method-card input:checked ~ .payment-method-content .payment-method-check svg {
    opacity: 1;
}

.btn-checkout {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #ff4b7a 0%, #ff6b9d 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 75, 122, 0.3);
}

.btn-checkout:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    margin-top: 12px;
    background: transparent;
    color: #9ca3af;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-back:hover {
    border-color: #4b5563;
    color: #d1d5db;
}

/* ===== PAYMENT MANUAL PAGE ===== */
.payment-manual-container {
    min-height: 100vh;
    background: #0f0f0f;
    padding: 40px 20px;
}

.payment-manual-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.payment-header {
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
}

.payment-header .page-title {
    margin-top: 20px;
}

.payment-header .page-description {
    margin-top: 8px;
}

.payment-status {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-status.pending {
    background: linear-gradient(90deg, #ff4b7a 0%, #ff6b9d 100%);
    color: white;
}

.payment-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.payment-header p {
    font-size: 16px;
    color: #9ca3af;
    margin: 0;
}

.payment-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card,
.bank-card,
.upload-card,
.status-card {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.info-card h3,
.bank-card h3,
.upload-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-item.total {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 2px dashed #2a2a2a;
}

.info-label {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
}

.info-value {
    font-size: 15px;
    color: #ffffff;
    font-weight: 600;
}

.info-value.amount {
    font-size: 24px;
    color: #ff4b7a;
}

.bank-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.bank-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bank-label {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
}

.bank-value-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: #0f0f0f;
    border-radius: 8px;
}

.bank-value {
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
}

.bank-value.highlight {
    color: #ff4b7a;
    font-size: 20px;
}

.btn-copy {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy:hover {
    border-color: #ff4b7a;
    color: #ff4b7a;
}

.bank-instructions {
    padding: 20px;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
}

.bank-instructions h4 {
    font-size: 15px;
    font-weight: 600;
    color: #92400e;
    margin: 0 0 8px 0;
}

.bank-instructions p {
    font-size: 14px;
    color: #78350f;
    margin: 0;
    line-height: 1.6;
}

.file-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    border: 2px dashed #4b5563;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    background: #0f0f0f;
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: #ff4b7a;
    background: rgba(255, 75, 122, 0.05);
}

.file-upload-area svg {
    color: #6b7280;
    margin-bottom: 16px;
}

.file-upload-area p {
    font-size: 16px;
    font-weight: 500;
    color: #d1d5db;
    margin: 0 0 8px 0;
}

.file-upload-area small {
    font-size: 13px;
    color: #6b7280;
}

.file-preview {
    position: relative;
    margin-bottom: 20px;
}

.file-preview img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
}

.btn-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(239, 68, 68, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.btn-upload {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-upload:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.status-card {
    text-align: center;
    padding: 48px 32px;
}

.status-card.waiting {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 2px solid #fbbf24;
}

.status-card svg {
    color: #f59e0b;
    margin-bottom: 20px;
}

.status-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #92400e;
    margin: 0 0 12px 0;
}

.status-card p {
    font-size: 15px;
    color: #78350f;
    margin: 0;
    line-height: 1.6;
}

.payment-footer {
    text-align: center;
    margin-top: 24px;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: #1a1a1a;
    color: #d1d5db;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-back-home:hover {
    background: #2a2a2a;
    color: #ffffff;
    border-color: #4b5563;
}

@media (max-width: 768px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}


/* Custom Modal Styles */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal-overlay.show {
    opacity: 1;
}

.custom-modal {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid #2a2a2a;
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.custom-modal-overlay.show .custom-modal {
    transform: scale(1);
}

.custom-modal .modal-icon {
    margin: 0 auto 24px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.custom-modal.success .modal-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 2px solid rgba(34, 197, 94, 0.3);
}

.custom-modal.success .modal-icon svg {
    color: #22c55e;
    animation: checkmark 0.6s ease;
}

.custom-modal.error .modal-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.custom-modal.error .modal-icon svg {
    color: #ef4444;
    animation: shake 0.5s ease;
}

.custom-modal.copy {
    padding: 24px 32px;
    max-width: 280px;
}

.custom-modal.copy .modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.custom-modal.copy .modal-icon svg {
    color: #3b82f6;
    width: 32px;
    height: 32px;
}

.custom-modal h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px;
}

.custom-modal p {
    font-size: 16px;
    color: #a0a0a0;
    line-height: 1.6;
    margin: 0 0 32px;
}

.custom-modal.copy p {
    margin: 0;
    font-size: 15px;
    color: #ffffff;
}

.custom-modal .modal-btn {
    background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
    color: #ffffff;
    border: none;
    padding: 14px 48px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(229, 9, 20, 0.3);
}

.custom-modal .modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(229, 9, 20, 0.4);
}

.custom-modal .modal-btn:active {
    transform: translateY(0);
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(0deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-8px);
    }
    75% {
        transform: translateX(8px);
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .custom-modal {
        padding: 36px 28px;
        max-width: 90%;
    }
    
    .custom-modal h2 {
        font-size: 24px;
    }
    
    .custom-modal p {
        font-size: 14px;
    }
    
    .custom-modal .modal-btn {
        padding: 12px 36px;
        font-size: 15px;
    }
}


/* User Transactions Page */
.transaction-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.transaction-stat-card {
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.transaction-stat-card:hover {
    border-color: #2a2a2a;
    transform: translateY(-2px);
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-wrapper.blue {
    background: rgba(59, 130, 246, 0.15);
}

.stat-icon-wrapper.blue svg {
    color: #3b82f6;
}

.stat-icon-wrapper.orange {
    background: rgba(251, 191, 36, 0.15);
}

.stat-icon-wrapper.orange svg {
    color: #fbbf24;
}

.stat-icon-wrapper.green {
    background: rgba(34, 197, 94, 0.15);
}

.stat-icon-wrapper.green svg {
    color: #22c55e;
}

.stat-icon-wrapper.purple {
    background: rgba(168, 85, 247, 0.15);
}

.stat-icon-wrapper.purple svg {
    color: #a855f7;
}

.stat-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.stat-text {
    font-size: 13px;
    color: #888;
}

/* Transactions List */
.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.transaction-item {
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.transaction-item:hover {
    border-color: #2a2a2a;
}

.transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #1a1a1a;
}

.transaction-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px;
}

.transaction-id {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #3b82f6;
    font-weight: 600;
}

.transaction-status .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.transaction-status .status-badge svg {
    flex-shrink: 0;
}

.transaction-status .status-badge.status-pending {
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.2) 0%, rgba(156, 163, 175, 0.1) 100%);
    color: #9ca3af;
    border: 1px solid rgba(156, 163, 175, 0.3);
}

.transaction-status .status-badge.status-waiting_confirmation {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.1) 100%);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
    animation: badgePulseUser 2s ease-in-out infinite;
}

.transaction-status .status-badge.status-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.transaction-status .status-badge.status-failed {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.1) 100%);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.transaction-status .status-badge.status-expired {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.2) 0%, rgba(107, 114, 128, 0.1) 100%);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

@keyframes badgePulseUser {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(251, 191, 36, 0.2);
    }
    50% {
        box-shadow: 0 4px 16px rgba(251, 191, 36, 0.4);
    }
}

.transaction-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-label {
    font-size: 14px;
    color: #888;
}

.detail-value {
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
}

.transaction-actions {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #1a1a1a;
}

.btn-action-primary {
    background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-action-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(229, 9, 20, 0.4);
}

/* Empty State */
.empty-transactions {
    text-align: center;
    padding: 80px 20px;
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    border-radius: 16px;
}

.empty-transactions svg {
    color: #3a3a3a;
    margin-bottom: 24px;
}

.empty-transactions h3 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 12px;
}

.empty-transactions p {
    font-size: 16px;
    color: #888;
    margin: 0 0 32px;
}

.btn-subscribe {
    background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(229, 9, 20, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .transaction-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .transaction-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .transaction-status {
        align-self: flex-start;
    }
}


/* My List Page */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-stats {
    display: flex;
    gap: 1rem;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: #a78bfa;
    font-size: 0.875rem;
    font-weight: 600;
}

.stat-badge svg {
    color: #8b5cf6;
}

/* Data Table */
.table-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: rgba(255, 255, 255, 0.05);
}

.data-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.data-table tbody tr:hover {
    background: rgba(139, 92, 246, 0.05);
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.data-table td {
    padding: 1.25rem;
    vertical-align: middle;
}

.table-poster {
    width: 60px;
    height: 85px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease;
}

.table-poster:hover {
    transform: scale(1.05);
}

.table-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.table-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.drama-link {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.drama-link:hover {
    color: #8b5cf6;
}

.drama-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.meta-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
}

.meta-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #fbbf24;
    font-weight: 600;
}

.meta-rating svg {
    color: #fbbf24;
}

.table-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action:hover {
    transform: translateY(-2px);
}

.btn-view {
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.3);
}

.btn-view:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
}

.btn-remove {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-remove:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.5);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state svg {
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.5rem 0;
}

.empty-state p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 2rem 0;
}

.empty-state .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.empty-state .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}


/* Empty State Inline (for dashboard) */
.empty-state-inline {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.empty-state-inline svg {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.3);
}

.empty-state-text {
    flex: 1;
}

.empty-state-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.25rem 0;
}

.empty-state-text p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.btn-empty {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-empty:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.section-link {
    font-size: 0.875rem;
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.section-link:hover {
    color: #a78bfa;
}

.my-list-section {
    margin-top: 2rem;
}


/* Fix for empty state - ensure no italic/skew */
.dashboard-main .empty-state,
.dashboard-main .empty-state *,
.dashboard-main .empty-state-inline,
.dashboard-main .empty-state-inline * {
    font-style: normal !important;
    transform: none !important;
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.dashboard-main .empty-state h3,
.dashboard-main .empty-state-text h4 {
    font-style: normal !important;
    font-weight: 600 !important;
}

.dashboard-main .empty-state p,
.dashboard-main .empty-state-text p {
    font-style: normal !important;
    font-weight: 400 !important;
}

/* Ensure buttons in empty state are not skewed */
.dashboard-main .btn-primary,
.dashboard-main .btn-empty,
.dashboard-main .empty-state .btn,
.dashboard-main .empty-state a {
    font-style: normal !important;
    transform: none !important;
}

.dashboard-main .btn-primary:hover,
.dashboard-main .btn-empty:hover,
.dashboard-main .empty-state .btn:hover {
    transform: translateY(-2px) !important;
}

/* Additional fix for watch-history page */
.user-dashboard-layout .empty-state {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.user-dashboard-layout .empty-state h3 {
    font-family: inherit !important;
    font-style: normal !important;
    font-weight: 600 !important;
}

.user-dashboard-layout .empty-state p {
    font-family: inherit !important;
    font-style: normal !important;
    font-weight: 400 !important;
}


/* CRITICAL FIX: Force normal font style for empty state */
.empty-state,
.empty-state h3,
.empty-state p,
.empty-state a,
.empty-state button,
.empty-state * {
    font-style: normal !important;
    font-variant: normal !important;
    font-stretch: normal !important;
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
}

/* Reset any potential oblique or italic from parent */
body .user-dashboard-layout .dashboard-main .empty-state,
body .user-dashboard-layout .dashboard-main .empty-state * {
    font-style: normal !important;
    font-synthesis: none !important;
}


/* Force specific font family that doesn't have italic variant */
.empty-state {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}

.empty-state h3 {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
    font-style: normal !important;
    font-weight: 600 !important;
}

.empty-state p {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
}

.empty-state a,
.empty-state button {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
    font-style: normal !important;
}


/* CRITICAL: Force center alignment for empty state */
.user-dashboard-layout .dashboard-main .empty-state {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4rem 2rem !important;
}

.user-dashboard-layout .dashboard-main .empty-state h3 {
    text-align: center !important;
    width: 100% !important;
}

.user-dashboard-layout .dashboard-main .empty-state p {
    text-align: center !important;
    width: 100% !important;
    max-width: 500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.user-dashboard-layout .dashboard-main .empty-state svg {
    margin: 0 auto 1.5rem auto !important;
}

.user-dashboard-layout .dashboard-main .empty-state a,
.user-dashboard-layout .dashboard-main .empty-state button {
    margin: 0 auto !important;
}


/* Profile Settings Page */
.profile-settings {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.settings-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.settings-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-card-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.5rem 0;
}

.settings-card-header p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.settings-card-body {
    padding: 1.5rem;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.form-group input {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(255, 255, 255, 0.08);
}

.form-group input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-group small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.form-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.form-actions .btn:active {
    transform: translateY(0);
}


/* Alert Messages */
.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert svg:first-child {
    flex-shrink: 0;
}

.alert span {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 500;
}

.alert-close {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.alert-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.alert-success .alert-close {
    color: #22c55e;
}

.alert-success .alert-close:hover {
    background: rgba(34, 197, 94, 0.2);
}

.alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.alert-error .alert-close {
    color: #ef4444;
}

.alert-error .alert-close:hover {
    background: rgba(239, 68, 68, 0.2);
}
