:root {
    --primary: #00a34b;
    --primary-hover: #008f42;
    --text-main: #111827;
    --text-muted: #6b7280;
    --text-placeholder: #a1a1aa;
    --border-color: #e4e4e7;
    --bg-white: #ffffff;
    --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-inter);
    background-color: var(--bg-white);
    color: var(--text-main);
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

.split-layout {
    display: flex;
    min-height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* Left Pane */
.left-pane {
    width: 50%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.left-pane video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Pane */
.right-pane {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    background-color: var(--bg-white);
    flex-shrink: 0;
}

.form-wrapper {
    max-width: 440px;
    width: 100%;
}

/* Success container */
.success-container {
    max-width: 440px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.success-inner {
    width: 100%;
}

.success-illustration {
    display: block;
    width: 220px;
    max-width: 100%;
    margin: 0 auto 1.75rem auto;
}

.success-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 0.75rem 0;
}

.success-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Header Section */
.header-section {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-img {
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem auto;
    object-fit: contain;
}

.title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 0.75rem 0;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: +1.5;
    margin: 0;
    padding: 0 1rem;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.step-icon-wrapper {
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 24px;
    height: 24px;
}

.step-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

/* Form Styles */
.step-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    background-color: var(--bg-white);
}

.form-group input::placeholder {
    color: var(--text-placeholder);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 163, 75, 0.1);
}

/* Custom select dropdown styling */
.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20'%3E%3Cpath fill='%236b7280' d='M5.23 7.21a.75.75 0 0 1 1.06.02L10 11.085l3.71-3.855a.75.75 0 1 1 1.08 1.04l-4.24 4.4a.75.75 0 0 1-1.08 0l-4.24-4.4a.75.75 0 0 1 .02-1.06z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 14px 14px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select:invalid {
    color: var(--text-placeholder);
}

.form-group select option {
    color: var(--text-main);
}

.btn-next {
    margin-top: 1.5rem;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

.btn-next:hover {
    background-color: var(--primary-hover);
}

.btn-next:active {
    transform: translateY(1px);
}

/* Loader overlay */
#loaderOverlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 50;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 3px solid #e5e7eb;
    border-top-color: var(--primary);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Card Grid Styles for Step 2 */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-card {
    display: block;
    cursor: pointer;
    user-select: none;
}

.info-card input[type="radio"] {
    display: none;
}

.card-content {
    display: flex;
    align-items: flex-start;
    padding: 1.25rem 1rem;
    border: 1.5px dotted var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-white);
    transition: all 0.2s;
    height: 100%;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin-right: 0.75rem;
    flex-shrink: 0;

    background-color: #f3f4f6;
    color: #9ca3af;
    transition: all 0.2s;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    transition: color 0.2s;
}

.card-subtitle {
    font-size: 0.65rem;
    color: var(--text-placeholder);
    line-height: 1.4;
    transition: color 0.2s;
}

/* Selected Card Styles */
.info-card input[type="radio"]:checked+.card-content {
    background-color: #eff6ff;
    /* Very very light blue */
    border-color: #60a5fa;
    /* Blue dotted */
    border-style: dotted;
}

.info-card input[type="radio"]:checked+.card-content .card-title {
    color: #1e3a8a;
    /* Dark blue */
}

.info-card input[type="radio"]:checked+.card-content .card-subtitle {
    color: #60a5fa;
    /* Light blue */
}

.info-card input[type="radio"]:checked+.card-content .card-icon {
    background-color: #bfdbfe;
    color: #2563eb;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .split-layout {
        flex-direction: column;
        overflow-y: auto;
    }

    .left-pane {
        width: 100%;
        height: 250px;
    }

    .right-pane {
        width: 100%;
        padding: 2rem 1.5rem;
        height: auto;
    }
}

/* Login and Footer Styles */
.login-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.login-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}

.forgot-password {
    display: block;
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: var(--primary);
}


/* Dashboard Styles */
.dashboard-container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.welcome-card h1 {
    color: var(--text-main);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.welcome-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.btn-logout {
    padding: 0.875rem 2rem;
    background-color: #f3f4f6;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-logout:hover {
    background-color: #e5e7eb;
}

/* Password Toggle Styles */
.password-field-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field-wrapper input {
    padding-right: 3rem !important;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    user-select: none;
    z-index: 10;
}

.toggle-password:hover {
    color: var(--primary);
}

.toggle-password svg {
    width: 20px;
    height: 20px;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    min-width: 300px;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    pointer-events: auto;
    animation: toast-slide-in 0.3s ease forwards;
    border-left: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.toast.success {
    border-left-color: #10b981;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast.info {
    border-left-color: #3b82f6;
}

.toast.warning {
    border-left-color: #f59e0b;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    margin: 0;
}

.toast-message {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.125rem;
}

.toast-close {
    cursor: pointer;
    color: var(--text-placeholder);
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.toast-close:hover {
    background: #f3f4f6;
    color: var(--text-main);
}

@keyframes toast-slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.fade-out {
    animation: toast-fade-out 0.3s ease forwards;
}

@keyframes toast-fade-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    background-color: white;
}

.sidebar {
    width: 260px;
    background: white;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem 1.5rem 1.25rem;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.sidebar.minimized .sidebar-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
}

.sidebar-logo img {
    width: 24px;
    height: 24px;
}

.collapse-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    color: var(--text-muted);
    background: white;
    transition: all 0.2s;
}

.collapse-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.menu-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-placeholder);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    padding-left: 0.75rem;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
    margin-bottom: 0.25rem;
}

.menu-item:hover {
    background: #f3f4f6;
    color: var(--text-main);
}

.menu-item.active {
    background: #ecfdf5;
    color: var(--primary);
}

.menu-item svg {
    width: 20px;
    height: 20px;
}

.menu-item .menu-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.sidebar-footer {
    margin-top: auto;
}

.btn-sidebar-red {
    width: 100%;
    padding: 0.75rem;
    background: #b91c1c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s;
}

.btn-sidebar-red:hover {
    background: #991b1b;
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.2);
}

.btn-sidebar-red svg {
    width: 18px;
    height: 18px;
}

/* Main Content Wrapper */
.main-wrapper {
    margin-left: 260px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    height: 64px;
    background: white;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 90;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    width: 320px;
    gap: 0.5rem;
    color: var(--text-muted);
}

.search-bar input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.9rem;
    flex: 1;
    min-width: 0;
}

.search-shortcut {
    font-size: 0.7rem;
    background: white;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.notification-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-muted);
    position: relative;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.2s;
}

.notification-btn:hover {
    background: #f9fafb;
    color: var(--text-main);
}

.notification-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid white;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--border-color);
}

.avatar {
    width: 32px;
    height: 32px;
    background: #fce7f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-info {
    font-size: 0.85rem;
}

.user-name {
    display: block;
    font-weight: 700;
    color: var(--text-main);
}

.user-role {
    display: block;
    color: var(--text-muted);
}

/* Dashboard Content */
.dashboard-content {
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.welcome-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.welcome-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 340px);
    gap: 1.5rem;
    max-width: 100%;
}

.option-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s;
}

.option-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.option-icon-large {
    width: 64px;
    height: 64px;
    color: #a3a100;
    /* Mustard yellow as per screenshot */
    margin-bottom: 1.5rem;
}

.option-icon-large.green {
    color: var(--primary);
}

.option-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.option-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.dashboard-footer-note {
    margin-top: 4rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.6;
}

.dashboard-footer-note a {
    color: var(--primary);
    text-decoration: none;
}

/* Sidebar Minimized State */
.sidebar.minimized {
    width: 80px;
    padding: 1.5rem 0.75rem;
    align-items: center;
}

.sidebar.minimized .sidebar-logo span,
.sidebar.minimized .section-title,
.sidebar.minimized .menu-item span,
.sidebar.minimized .user-info,
.sidebar.minimized .btn-sidebar-red span {
    display: none;
}

.sidebar.minimized .sidebar-header {
    align-items: center;
    justify-content: center;
}

.sidebar.minimized .menu-item {
    justify-content: center;
    padding: 0.75rem;
    width: 44px;
    height: 44px;
}

.sidebar.minimized .btn-sidebar-red {
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0 auto;
    justify-content: center;
}

.sidebar.minimized .sidebar-logo {
    gap: 0;
}

.sidebar.minimized+.main-wrapper {
    margin-left: 80px;
}

.sidebar {
    transition: width 0.3s ease, padding 0.3s ease;
}

.main-wrapper {
    transition: margin-left 0.3s ease;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 56px;
    height: 56px;
    background: #fee2e2;
    color: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.modal-message {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 2rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

.btn-modal {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-modal.cancel {
    background: #f3f4f6;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-modal.cancel:hover {
    background: #e5e7eb;
}

.btn-modal.confirm {
    background: #ef4444;
    color: white;
    border: none;
}

.btn-modal.confirm:hover {
    background: #dc2626;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Subscriptions Page Styles */
.page-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 2rem 2rem 2.5rem;
    text-align: left;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.page-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.content-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem 1.5rem;
}

.filter-tabs {
    display: inline-flex;
    background: #f3f4f6;
    padding: 0.25rem;
    border-radius: 8px;
    gap: 0.25rem;
    align-items: center;
}

.filter-tab {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.filter-tab.active {
    background: var(--primary);
    color: white;
}

.toolbar-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.search-input-small {
    background: white;
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    width: 200px;
    outline: none;
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #f9fafb;
}

.btn-secondary-green {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary-green:hover {
    background: #ecfdf5;
}

.btn-primary-green {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary-green:hover {
    background: #059669;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* Empty State */
.empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: white;
    margin: 0 2rem 2rem;
    border-radius: 16px;
    border: 1px dashed var(--border-color);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    background: #f0fdf4;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 300px;
    line-height: 1.5;
    text-align: center;
}

/* Purchase Subscription Card Styles */
.purchase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem 2rem;
}

.purchase-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
    max-width: 320px;
}

.purchase-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.purchase-card-logo-container {
    width: 40px;
    height: 40px;
    background: #0076B6;
    /* DSTV Blue matching the logo if needed, or just white */
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.purchase-card-logo-container img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.purchase-card-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 0.5rem 0;
}

.purchase-card-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.btn-purchase-now {
    width: 100%;
    padding: 0.625rem;
    background: white;
    border: 1px solid #e5e7eb;
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
}

.btn-purchase-now:hover {
    background: #f0fdf4;
    border-color: #10b981;
}

/* Payment Modal Styles */
.modal-content.payment-modal {
    max-width: 420px;
    padding: 0;
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.payment-modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-modal-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

.close-modal-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.close-modal-btn:hover {
    background: #f3f4f6;
    color: var(--text-main);
}

.payment-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.payment-modal-title-section {
    margin-bottom: 1.5rem;
}

.payment-modal-title-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 0.25rem 0;
}

.payment-modal-title-section p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.dstv-banner-card {
    width: 100%;
    height: 140px;
    background: #0076B6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.dstv-banner-card img {
    width: 200px;
    height: auto;
    object-fit: contain;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-select,
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-main);
    background: white;
    transition: all 0.2s;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input.readonly {
    background: #f3f4f6;
    cursor: default;
}

.btn-purchase-package {
    width: 100%;
    padding: 0.875rem;
    background: #009840;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
}

.btn-purchase-package:hover {
    background: #008638;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 152, 64, 0.2);
}

/* Transactions table */
.transactions-table-wrapper {
    margin: 0 2rem 2rem;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.transactions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.transactions-table thead {
    background: #f9fafb;
}

.transactions-table th,
.transactions-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}

.transactions-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-placeholder);
    font-weight: 600;
}

.transaction-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.transaction-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #f0fdf4;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.transaction-user-info {
    display: flex;
    flex-direction: column;
}

.transaction-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.transaction-id-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-paid {
    background: #ecfdf5;
    color: #16a34a;
}

.status-pending {
    background: #fffbeb;
    color: #f59e0b;
}

.table-action-btn {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: none;
    background: #f3f4f6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-muted);
}

.table-action-btn:hover {
    background: #e5e7eb;
}

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.table-pagination {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.page-btn {
    min-width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: white;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.2s;
}

.page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-btn.page-arrow.disabled {
    opacity: 0.4;
    cursor: default;
}

/* Account page */
.account-page {
    padding: 2rem;
}

.account-header {
    margin-bottom: 1.5rem;
}

.account-header h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 0.25rem 0;
}

.account-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.account-card {
    max-width: 680px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.account-card-header {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    background: #f9fafb;
}

.account-card-header h2 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.account-form {
    padding: 1.25rem;
}

.account-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.9rem;
}

.account-form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.35rem;
}

.account-form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.account-form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 163, 75, 0.08);
}

.account-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.25rem;
}