/* Shoppers Club Membership App - Mobile First Design */
/* Updated to match shoppers-club-bundle design system */

:root {
    /* Primary Purple Palette (matching bundle site) */
    --primary-purple: #7C3AED;
    --dark-purple: #5B21B6;
    --light-purple: #A78BFA;
    --pale-purple: #EDE9FE;
    --gradient-start: #8B5CF6;
    --gradient-end: #EC4899;

    /* Legacy color aliases for compatibility */
    --primary-color: var(--primary-purple);
    --secondary-color: var(--dark-purple);
    --accent-color: var(--light-purple);
    --accent-pink: #EC4899;

    /* Status colors */
    --success-color: #10B981;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;

    /* Neutrals */
    --text-dark: #1F2937;
    --text-medium: #6B7280;
    --text-light: #ffffff;
    --white: #FFFFFF;
    --off-white: #FAFBFF;
    --light-color: #f8f6ff;
    --light-gray: #F3F4F6;
    --border-color: #E5E7EB;
    --dark-color: #1F2937;
    --card-background: #ffffff;

    /* Shadows (purple-tinted) */
    --shadow-sm: 0 1px 2px 0 rgba(124, 58, 237, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(124, 58, 237, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(124, 58, 237, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(124, 58, 237, 0.15);
    --box-shadow: var(--shadow-lg);
    --box-shadow-card: var(--shadow-md);

    /* Layout */
    --border-radius: 12px;
    --border-radius-large: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --touch-target: 44px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: env(safe-area-inset-bottom);
    overflow: overlay;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.mobile-container {
    max-width: 480px;
    margin: 0 auto;
    /* padding: 15px 15px 100px; */
    padding: 0px 0px 100px;
    min-height: 100vh;
    position: relative;
    background-color: #f8f6ff!important;
}

/* Header - Glassmorphic Style */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-dark);
    padding: max(env(safe-area-inset-top), 1rem) 1rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.5px;
}

.header p {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.header .logo {
    text-align: left;
    margin-bottom: 0.0rem;
}

/* Bottom Navigation - Native Style with Font Awesome Icons */
.bottom-nav {
    background: var(--card-background);
    padding: 0.5rem 0 max(env(safe-area-inset-bottom), 0.5rem);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-top: 1px solid rgba(124, 58, 237, 0.15);
    box-shadow: 0 -4px 20px rgba(124, 58, 237, 0.1);
}

.bottom-nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
    padding: 0;
}

.bottom-nav li {
    flex: 1;
    text-align: center;
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #718096;
    padding: 0.5rem 0.25rem;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    font-size: 0.7rem;
    font-weight: 500;
    min-height: var(--touch-target);
    justify-content: center;
    gap: 4px;
}

.bottom-nav a i {
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.bottom-nav a:active {
    transform: scale(0.95);
}

.bottom-nav a.active {
    color: var(--primary-purple);
}

.bottom-nav a.active i {
    transform: scale(1.1);
}

/* Ship button special styling - centered accent */
.bottom-nav .nav-ship a {
    position: relative;
}

.bottom-nav .nav-ship a i {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    margin-top: -20px;
    transition: all 0.3s ease;
}

.bottom-nav .nav-ship a:active i {
    transform: scale(0.95);
}

.bottom-nav .nav-ship a span {
    margin-top: 4px;
}

/* Legacy .nav class for backward compatibility */
.nav {
    background: var(--card-background);
    padding: 0.5rem 0 max(env(safe-area-inset-bottom), 0.5rem);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-top: 1px solid rgba(124, 58, 237, 0.15);
    box-shadow: 0 -4px 20px rgba(124, 58, 237, 0.1);
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav li {
    flex: 1;
    text-align: center;
}

.nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #718096;
    padding: 0.5rem 0.25rem;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    font-size: 0.7rem;
    font-weight: 500;
    min-height: var(--touch-target);
    justify-content: center;
    gap: 4px;
}

.nav a i {
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.nav a:active {
    transform: scale(0.95);
}

.nav a.active {
    color: var(--primary-purple);
}

.nav a.active i {
    transform: scale(1.1);
}

/* Ship button special styling */
.nav .nav-ship a i {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    margin-top: -20px;
}

/* Cards - Glassmorphic Style with Hover Effects */
.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-pink));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--light-purple);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 1.25rem;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.3px;
}

.card-header h2,
.card-header h3 {
    margin: 0;
    font-weight: 700;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background: rgba(111, 66, 193, 0.05);
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(111, 66, 193, 0.1);
}

/* Membership Card */
.membership-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 0rem;
    position: relative;
    overflow: hidden;
}

.membership-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
}

.member-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-id {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
}

.qr-code {
    text-align: center;
    margin: 1.5rem 0;
}

.qr-code img {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    background: white;
    padding: 10px;
}

.subscription-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.1);
}

/* Buttons - Native Style */
.btn {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-bottom: 1rem;
    min-height: var(--touch-target);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--gradient-end));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    border-radius: 50px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(156, 107, 217, 0.3);
}

.btn-secondary:active {
    box-shadow: 0 2px 8px rgba(156, 107, 217, 0.4);
}

.btn-success {
    background: var(--success-color);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-danger {
    background: var(--danger-color);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-outline:active {
    background: rgba(111, 66, 193, 0.1);
    border-color: var(--secondary-color);
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: var(--success-color);
    color: white;
}

.status-inactive {
    background: var(--danger-color);
    color: white;
}

.status-expired {
    background: var(--warning-color);
    color: var(--dark-color);
}

/* Loading states */
.loading {
    text-align: center;
    padding: 2rem;
}

.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert messages */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
}

.alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-warning {
    background: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

/* QR Validation */
.validation-result {
    text-align: center;
    padding: 2rem;
    margin: 0;
    border-radius: 5px;
}

.validation-valid {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.validation-invalid {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* Native Enhancements */
.plan-option {
    background: var(--card-background);
    border: 2px solid rgba(111, 66, 193, 0.1);
    border-radius: var(--border-radius);
    padding: 1rem;
    transition: var(--transition);
}

.plan-option:hover,
.plan-option:active {
    border-color: var(--primary-color);
    background: rgba(111, 66, 193, 0.05);
}

.plan-option h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

a:hover,
a:active {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Loading spinner color update */
.loading-spinner {
    border: 3px solid rgba(111, 66, 193, 0.1);
    border-top: 3px solid var(--primary-color);
}

/* Add bottom padding to prevent overlap with bottom nav */
.card:last-child {
    margin-bottom: 2rem;
}

/* Profile Page Styles */
.profile-summary {
    text-align: center;
}

.profile-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
}

.member-email {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.member-id {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.info-grid {
    display: grid;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p {
    margin: 0;
    font-size: 1rem;
    color: var(--dark-color);
}

.address-item {
    padding: 1rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.address-item:last-child {
    margin-bottom: 0;
}

.address-type {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.address-details p {
    margin: 0 0 0.25rem 0;
    color: var(--dark-color);
}

.subscription-details {
    text-align: center;
}

.subscription-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.subscription-status.status-active {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.subscription-status.status-inactive {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.subscription-info-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.subscription-actions {
    text-align: center;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.action-icon {
    width: 18px;
    height: 18px;
}

.no-data {
    text-align: center;
    color: #666;
    font-style: italic;
    margin: 0;
}

.error {
    text-align: center;
    color: var(--danger-color);
    margin: 0;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.modal-content {
    background: var(--card-background);
    border-radius: var(--border-radius-large);
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 1.25rem;
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
}

.modal-header h3 {
    margin: 0;
    font-weight: 700;
}

.modal-body {
    padding: 1.5rem;
}

.modal-body ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.modal-footer {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-footer .btn {
    flex: 1;
}

/* Login Page Styles */
.login-card {
    margin-top: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.mobile-container .content-spacing .login-options {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 2rem 1rem;
}

.login-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0 0 0;
    text-align: center;
}

.login-options {
    text-align: center;
    padding: 0.5rem 0;
}

.sso-login-btn {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sso-login-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.sso-login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.login-footer {
    margin-top: 2rem;
    text-align: center;
}

.help-text {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.help-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.help-text a:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    margin-bottom: 1rem;
}

.btn-icon {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
}

.or-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    text-align: center;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(111, 66, 193, 0.2);
}

.or-divider span {
    padding: 0 1rem;
    color: #666;
    font-size: 0.9rem;
    background: var(--card-background);
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    text-align: center;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(111, 66, 193, 0.2);
}

.divider span {
    padding: 0 1rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    background: var(--card-background);
}

/* Checkbox Styles */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    transition: var(--transition);
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(111, 66, 193, 0.1);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Signup Modal Styles */
.signup-modal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.signup-modal-content {
    background: var(--card-background);
    border-radius: var(--border-radius-large);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--box-shadow);
}

.signup-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 1.25rem;
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.signup-modal-header h3 {
    margin: 0;
    font-weight: 700;
}

.signup-modal-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.signup-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.signup-modal-body {
    padding: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Form Group Improvements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--card-background);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.1);
}

.form-control:invalid {
    border-color: var(--danger-color);
}

/* Notification Modal Enhancements */
.notification-modal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.notification-modal-content {
    background: var(--card-background);
    border-radius: var(--border-radius-large);
    width: 100%;
    max-width: 400px;
    box-shadow: var(--box-shadow);
}

.notification-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 1.25rem;
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-modal-header h3 {
    margin: 0;
    font-weight: 700;
}

.notification-modal-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.notification-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.notification-modal-body {
    padding: 1.5rem;
}

/* Notification Management Styles */
.notification-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-badge {
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.notifications-container {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    position: relative;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    background: var(--card-background);
}

.notification-item:hover {
    background: rgba(111, 66, 193, 0.05);
    border-color: var(--primary-color);
}

.notification-item.unread {
    background: rgba(111, 66, 193, 0.02);
    border-left: 4px solid var(--primary-color);
}

.notification-item.priority-urgent {
    border-left-color: var(--danger-color);
}

.notification-item.priority-high {
    border-left-color: #ff9800;
}

.notification-item.priority-low {
    border-left-color: #2196f3;
}

.notification-content {
    padding-right: 1rem;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.notification-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    flex: 1;
}

.notification-time {
    font-size: 0.8rem;
    color: #666;
    white-space: nowrap;
    margin-left: 1rem;
}

.notification-body {
    margin: 0 0 0.5rem 0;
    color: var(--dark-color);
    line-height: 1.4;
}

.notification-type {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
}

.notification-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.notification-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.notification-actions .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.btn-sm {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Responsive Design - Native App Focus */
@media (min-width: 768px) {
    .mobile-container {
        max-width: 600px;
        padding: 2rem 2rem 120px;
    }
    
    .subscription-info {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .btn {
        width: auto;
        display: inline-flex;
        margin-right: 1rem;
        min-width: 120px;
    }
    
    .nav {
        padding: 0.75rem 0 max(env(safe-area-inset-bottom), 0.75rem);
    }
    
    .nav a {
        font-size: 0.85rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .membership-card {
        max-width: 500px;
        margin: 2rem auto;
    }
    
    .mobile-container {
        max-width: 700px;
    }
}

/* Add safe area support for devices with notches */
@supports (padding: max(0px)) {
    .header {
        padding-top: max(env(safe-area-inset-top), 1rem);
    }
    
    .nav {
        padding-bottom: max(env(safe-area-inset-bottom), 0.5rem);
    }
}

.content-spacing {

    padding-left: 10px!important;
    padding-right: 10px!important;
    padding-top: 20px!important;
    padding-bottom: 0px!important;
}

/* Multi-step Registration Form Styles */
.progress-container {
    margin-bottom: 2rem;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 0 1rem;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(111, 66, 193, 0.2);
    z-index: 0;
    transform: translateY(-50%);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 80px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(111, 66, 193, 0.2);
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.step-label {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    font-weight: 500;
    transition: var(--transition);
}

.progress-step.active .step-number,
.progress-step.completed .step-number {
    background: var(--primary-color);
    color: white;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-step.completed .step-number::after {
    content: '✓';
    font-size: 0.8rem;
}

.registration-card {
    min-height: 500px;
}

.registration-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0 0 0;
    text-align: center;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.plan-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.plan-option {
    border: 2px solid rgba(111, 66, 193, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    background: white;
}

.plan-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.plan-option.selected {
    border-color: var(--primary-color);
    background: rgba(111, 66, 193, 0.05);
    box-shadow: var(--box-shadow);
}

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

.plan-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.plan-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 600;
}

.checkbox-group {
    margin: 1rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(111, 66, 193, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    font-size: 0.8rem;
    font-weight: 600;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(111, 66, 193, 0.1);
}

.form-navigation .btn {
    flex: 1;
    max-width: 150px;
}

.form-navigation .btn:only-child {
    margin-left: auto;
}

.form-text {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.25rem;
    display: block;
}

.form-group input.error,
.form-group select.error {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Loading spinner for registration */
.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert styles for registration form */
.alert {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #155724;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #721c24;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    color: #856404;
}

/* Responsive design for registration form */
@media (max-width: 480px) {
    .progress-bar {
        margin: 0 0.5rem;
    }
    
    .step-label {
        font-size: 0.7rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .plan-option {
        padding: 1rem;
    }
    
    .plan-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .form-navigation {
        flex-direction: column;
    }
    
    .form-navigation .btn {
        max-width: none;
    }
}

/* Fullscreen Partner Modal Styles */
.partner-modal-fullscreen {
    position: fixed;
    top: 0;
    padding-top: env(safe-area-inset-top, 20px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: var(--light-color);
    display: flex;
    flex-direction: column;
}

/* Modal Header with Logo */
.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    box-shadow: 0 4px 12px rgba(111, 66, 193, 0.3);
    border-radius: 0 0 20px 20px;
}

.modal-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Make logo white on purple background */
}

.modal-header .modal-close-btn {
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.modal-header .modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

/* Additional padding for iOS devices and small screens */
@supports (padding-top: env(safe-area-inset-top)) {
    .partner-modal-fullscreen {
        padding-top: max(env(safe-area-inset-top), 20px);
    }
}

@media (max-width: 600px) {
    .partner-modal-fullscreen {
        padding-top: max(env(safe-area-inset-top), 25px);
    }
}

.modal-header-bar {
    background: var(--card-background);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(111, 66, 193, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-header-bar h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    flex: 1;
    padding-right: 1rem;
}

.modal-close-btn {
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    border: 2px solid rgba(111, 66, 193, 0.2);
    border-radius: 50%;
    background: transparent;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: rgba(111, 66, 193, 0.1);
    border-color: var(--primary-color);
}

.modal-content-area {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: var(--light-color);
    margin-bottom: 100px; /* Space for bottom navigation */
}

.modal-content-area .partner-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-content-area .partner-logo img {
    max-width: 200px;
    max-height: 120px;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-card);
}

.modal-content-area .partner-category {
    background: rgba(111, 66, 193, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.modal-content-area .partner-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.modal-content-area .partner-highlights {
    background: var(--card-background);
    border-radius: var(--border-radius-large);
    padding: 1.5rem;
    box-shadow: var(--box-shadow-card);
}

.modal-content-area .partner-highlights h4 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.modal-content-area .partner-highlights ul {
    margin: 0;
    padding-left: 1.2rem;
}

.modal-content-area .partner-highlights li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: var(--dark-color);
}

/* Responsive adjustments for fullscreen modal */
@media (max-width: 480px) {
    .modal-header {
        padding: 0.75rem 1rem;
        min-height: 70px;
    }
    
    .modal-logo img {
        height: 32px;
    }
    
    .modal-header .modal-close-btn {
        min-width: 40px;
        min-height: 40px;
    }
    
    .modal-header-bar {
        padding: 0.75rem 1rem;
    }
    
    .modal-header-bar h2 {
        font-size: 1.1rem;
    }
    
    .modal-content-area {
        padding: 1rem;
    }
    
    .modal-close-btn {
        min-width: 40px;
        min-height: 40px;
    }
}

/* Modern Toast Notification System */
.toast-container {
    position: fixed;
    bottom: calc(80px + env(safe-area-inset-bottom));
    left: 1rem;
    right: 1rem;
    z-index: 9999;
    pointer-events: none;
    display: flex;
    flex-direction: column-reverse;
    gap: 0.5rem;
}

.toast {
    background: var(--card-background);
    border-radius: var(--border-radius-large);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    pointer-events: auto;
    transform: translateY(-100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--primary-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.hide {
    transform: translateY(-100px);
    opacity: 0;
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
    line-height: 1.4;
}

.toast-close {
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* Toast Types */
.toast.toast-success {
    border-left-color: var(--success-color);
}

.toast.toast-success .toast-icon {
    background: var(--success-color);
}

.toast.toast-error {
    border-left-color: var(--danger-color);
}

.toast.toast-error .toast-icon {
    background: var(--danger-color);
}

.toast.toast-warning {
    border-left-color: var(--warning-color);
}

.toast.toast-warning .toast-icon {
    background: var(--warning-color);
    color: var(--dark-color);
}

.toast.toast-info {
    border-left-color: var(--primary-color);
}

.toast.toast-info .toast-icon {
    background: var(--primary-color);
}

/* Progress bar for auto-dismiss */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(111, 66, 193, 0.3);
    border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
    transition: width linear;
}

.toast-success .toast-progress {
    background: rgba(40, 167, 69, 0.3);
}

.toast-error .toast-progress {
    background: rgba(220, 53, 69, 0.3);
}

.toast-warning .toast-progress {
    background: rgba(255, 193, 7, 0.3);
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .toast-container {
        left: 0.5rem;
        right: 0.5rem;
        bottom: calc(70px + env(safe-area-inset-bottom));
    }
    
    .toast {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .toast-icon {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .toast-close {
        width: 24px;
        height: 24px;
        font-size: 1rem;
    }
}

/* Profile Settings - Instagram Style */
.profile-settings-container {
    background: var(--light-color);
    min-height: calc(100vh - 140px);
}

.settings-section {
    background: var(--card-background);
    margin-bottom: 0.5rem;
}

.settings-section-title {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--light-color);
    border-bottom: 1px solid #e9ecef;
}

.settings-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--card-background);
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.settings-item:active {
    background-color: #f8f6ff;
}

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

.settings-item-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-color);
}

.settings-item-icon svg {
    width: 24px;
    height: 24px;
}

.settings-item-content {
    flex: 1;
    min-width: 0;
}

.settings-item-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.settings-item-subtitle {
    font-size: 0.875rem;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.settings-item-arrow {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    margin-left: 0.5rem;
}

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

.settings-item-danger {
    color: #dc3545;
}

.settings-item-danger .settings-item-icon {
    color: #dc3545;
}

.settings-item-danger .settings-item-title {
    color: #dc3545;
}

.settings-info {
    padding: 2rem 1rem;
    text-align: left;
    background: var(--light-color);
}

.app-version {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.app-copyright {
    font-size: 0.75rem;
    color: #999;
}

/* Detail Views */
.detail-view {
    background: var(--card-background);
    min-height: calc(100vh - 140px);
    display: none;
}

.detail-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--card-background);
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.back-button {
    background: none;
    border: none;
    padding: 0.5rem;
    margin-right: 1rem;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.back-button:active {
    background-color: rgba(111, 66, 193, 0.1);
}

.back-button svg {
    width: 24px;
    height: 24px;
}

.detail-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
}

.detail-content {
    padding: 1rem;
}

.info-list {
    background: var(--card-background);
}

.info-list .info-item {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

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

.info-list .info-item label {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.info-list .info-item p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-color);
}

.info-list .info-item input,
.info-list .info-item select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.info-list .info-item input:focus,
.info-list .info-item select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.1);
}

/* Personal Info Edit Form - Left Alignment */
#edit-personal-info-form {
    text-align: left;
}

#edit-personal-info-form .info-list {
    text-align: left;
}

#edit-personal-info-form .info-item {
    text-align: left;
}

#edit-personal-info-form .info-item label {
    text-align: left;
    display: block;
    margin-bottom: 0.5rem;
}

#edit-personal-info-form .info-item input {
    text-align: left;
    width: 100%;
}

#edit-personal-info-form .info-item p {
    text-align: left;
}

#edit-personal-info-form .form-actions {
    text-align: left;
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

/* Edit and Add Buttons */
.edit-button,
.add-button {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-button:hover,
.add-button:hover {
    background: var(--primary-color);
    color: white;
}

.add-button {
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-button svg {
    width: 20px;
    height: 20px;
}

/* Address Cards */
.address-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.address-card {
    background: var(--card-background);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem;
    transition: box-shadow 0.2s ease;
}

.address-card:hover {
    box-shadow: 0 2px 8px rgba(111, 66, 193, 0.1);
}

.address-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.address-type-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.default-badge {
    background: #28a745;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
}

.address-details {
    margin-bottom: 1rem;
}

.address-details p {
    margin: 0.25rem 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

.address-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Address Form */
.address-form {
    background: var(--card-background);
    padding: 1rem;
    border-radius: 12px;
}

.address-form h3 {
    margin: 0 0 1.5rem 0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.address-form .form-group {
    margin-bottom: 1rem;
}

.address-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
}

.address-form .form-group input,
.address-form .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.address-form .form-group input:focus,
.address-form .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.1);
}

.address-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

/* Transaction History Styles */
.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.transaction-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--card-background);
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(111, 66, 193, 0.1);
    box-shadow: var(--box-shadow-card);
    transition: var(--transition);
}

.transaction-item:hover {
    box-shadow: 0 4px 12px rgba(111, 66, 193, 0.15);
    transform: translateY(-1px);
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.transaction-icon.subscription {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.transaction-icon.refund {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.transaction-icon.upgrade {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.transaction-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.transaction-description {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.transaction-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #666;
}

.transaction-amount-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.transaction-amount {
    font-weight: 700;
    font-size: 1rem;
}

.amount-credit {
    color: #22c55e;
}

.amount-debit {
    color: #ef4444;
}

.transaction-status {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
}

.status-completed {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.status-failed {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

@media (max-width: 600px) {
    .transaction-meta {
        flex-direction: column;
        gap: 0.125rem;
    }
    
    .transaction-amount-status {
        align-items: center;
        text-align: center;
    }
    
    .transaction-item {
        padding: 0.75rem;
    }
    
    .transaction-icon {
        width: 32px;
        height: 32px;
        margin-right: 0.75rem;
    }
}

/* Modern Status Card */
.modern-status-card {
    background: linear-gradient(135deg, var(--card-background) 0%, rgba(111, 66, 193, 0.02) 100%);
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(111, 66, 193, 0.1);
    box-shadow: 0 8px 32px rgba(111, 66, 193, 0.08);
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.modern-status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.8;
}

.modern-status-card.inactive::before {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.modern-status-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(111, 66, 193, 0.15);
}

.status-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.status-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.status-icon-wrapper.active {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    color: #22c55e;
}

.status-icon-wrapper.inactive {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    color: #f59e0b;
}

.status-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-active {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.status-badge.status-inactive {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-details p {
    margin: 0 0 1.5rem 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

.status-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-status, .btn-status-outline {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    min-width: 120px;
}

.btn-status {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 12px rgba(111, 66, 193, 0.3);
}

.btn-status:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(111, 66, 193, 0.4);
}

.btn-status-outline {
    background: transparent;
    border: 2px solid rgba(111, 66, 193, 0.2);
    color: var(--primary-color);
}

.btn-status-outline:hover {
    background: rgba(111, 66, 193, 0.05);
    border-color: var(--primary-color);
}

/* Modern Events Grid */
.modern-events-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.modern-event-card {
    background: var(--card-background);
    border-radius: var(--border-radius-large);
    box-shadow: 0 4px 20px rgba(111, 66, 193, 0.08);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(111, 66, 193, 0.1);
    position: relative;
}

.modern-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(111, 66, 193, 0.15);
}

.event-card-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.event-type-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-event-card.exclusive .event-type-badge {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(168, 85, 247, 0.05));
    color: #a855f7;
}

.modern-event-card.special .event-type-badge {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    color: #22c55e;
}

.modern-event-card.vip .event-type-badge {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    color: #f59e0b;
}

.event-card-content {
    padding: 1rem 1.5rem 1.5rem;
}

.event-title {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.event-datetime, .event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #666;
}

.event-datetime svg, .event-location svg {
    opacity: 0.7;
}

.event-description {
    margin: 0 0 1.5rem 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.event-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-event-primary, .btn-event-secondary {
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
}

.btn-event-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 3px 10px rgba(111, 66, 193, 0.3);
}

.btn-event-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.4);
}

.btn-event-secondary {
    background: transparent;
    border: 2px solid rgba(111, 66, 193, 0.2);
    color: var(--primary-color);
}

.btn-event-secondary:hover {
    background: rgba(111, 66, 193, 0.05);
}

.empty-events {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #666;
}

.empty-events-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-events p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.empty-events-subtitle {
    font-size: 0.875rem;
    opacity: 0.7;
}

@media (max-width: 600px) {
    .modern-status-card {
        padding: 1.25rem;
    }
    
    .status-header {
        margin-bottom: 1.25rem;
    }
    
    .status-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .status-info h3 {
        font-size: 1.1rem;
    }
    
    .status-actions {
        flex-direction: column;
    }
    
    .btn-status, .btn-status-outline {
        width: 100%;
        min-width: auto;
    }
    
    .event-card-header {
        padding: 1rem 1rem 0;
    }
    
    .event-card-content {
        padding: 0.75rem 1rem 1rem;
    }
    
    .event-meta {
        gap: 0.5rem;
    }
    
    .event-actions {
        flex-direction: column;
    }
}

/* Enhanced Shipment Detail Modal Styles */
.shipment-detail-content {
    padding: 1rem;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.status-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.order-reference {
    margin: 0.5rem 0 0 0;
    color: #666;
    font-size: 0.9rem;
}

.addresses-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr 1fr;
}

.address-item {
    padding: 1rem;
    background: var(--card-background);
    border-radius: var(--border-radius);
    border: 1px solid rgba(111, 66, 193, 0.1);
}

.address-item label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.address-item p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.5;
}

/* Tracking Numbers Grid */
.tracking-numbers-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.tracking-number-item {
    padding: 1rem;
    background: var(--card-background);
    border-radius: var(--border-radius);
    border: 1px solid rgba(111, 66, 193, 0.1);
    transition: var(--transition);
}

.tracking-number-item.primary {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--card-background) 0%, rgba(111, 66, 193, 0.02) 100%);
}

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

.tracking-header .carrier {
    font-weight: 600;
    color: var(--primary-color);
}

.primary-badge {
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tracking-number {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.service {
    font-size: 0.875rem;
    color: #666;
}

/* Documents Grid */
.documents-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.document-group h5 {
    margin: 0 0 0.75rem 0;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
}

.document-list {
    display: grid;
    gap: 0.5rem;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--card-background);
    border: 1px solid rgba(111, 66, 193, 0.1);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.document-item:hover {
    border-color: var(--primary-color);
    background: rgba(111, 66, 193, 0.02);
    transform: translateY(-1px);
}

.document-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.document-info {
    flex: 1;
}

.document-name {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.document-size {
    font-size: 0.875rem;
    color: #666;
}

.download-icon {
    font-size: 1.25rem;
    color: var(--primary-color);
    opacity: 0.7;
    transition: var(--transition);
}

.document-item:hover .download-icon {
    opacity: 1;
    transform: translateY(-1px);
}

/* Customs Declaration */
.customs-declaration {
    background: var(--card-background);
    border-radius: var(--border-radius);
    border: 1px solid rgba(111, 66, 193, 0.1);
    padding: 1.5rem;
}

.customs-summary .customs-info {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 1.5rem;
}

.customs-items h5 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
}

.items-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.item-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem;
    background: rgba(111, 66, 193, 0.02);
    border-radius: var(--border-radius);
}

.item-description {
    font-weight: 500;
    color: var(--text-color);
}

.item-qty, .item-value {
    font-size: 0.875rem;
    color: #666;
    text-align: right;
}

.item-value {
    font-weight: 600;
    color: var(--primary-color);
}

/* Tracking Timeline */
.tracking-timeline {
    position: relative;
    padding-left: 2rem;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    opacity: 0.3;
}

.timeline-event {
    position: relative;
    margin-bottom: 1.5rem;
}

.event-marker {
    position: absolute;
    left: -1.75rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(111, 66, 193, 0.3);
}

.event-content {
    background: var(--card-background);
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(111, 66, 193, 0.1);
    box-shadow: 0 2px 8px rgba(111, 66, 193, 0.05);
}

.event-status {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.event-location {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.event-time {
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.event-description {
    font-size: 0.875rem;
    color: var(--text-color);
    line-height: 1.4;
}

/* Responsive adjustments for shipment details */
@media (max-width: 768px) {
    .status-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .addresses-grid {
        grid-template-columns: 1fr;
    }
    
    .tracking-numbers-grid {
        grid-template-columns: 1fr;
    }
    
    .customs-summary .customs-info {
        grid-template-columns: 1fr;
    }
    
    .item-row {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .item-qty, .item-value {
        text-align: left;
    }
}

/* Search Container Styles */
.search-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #6f42c1;
    box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.1);
}

@media (max-width: 600px) {
    .search-container {
        flex-direction: column;
    }
    
    .search-input {
        width: 100%;
    }
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state p {
    margin-bottom: 1rem;
    color: #666;
    font-size: 1rem;
}

/* Small button styles */
.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

/* Event Details Modal Styles */
.event-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.event-modal-content {
    background: var(--card-background);
    border-radius: var(--border-radius-large);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-modal.show .event-modal-content {
    transform: scale(1);
    opacity: 1;
}

.event-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
    position: relative;
}

.event-modal-header h3 {
    margin: 0 2rem 0 0;
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.3;
}

.event-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--text-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.event-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.event-modal-body {
    padding: 1.5rem;
}

.event-details-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.event-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.event-detail-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.event-detail-content {
    flex: 1;
}

.event-detail-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-detail-value {
    color: var(--dark-color);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.event-registration-status {
    background: rgba(111, 66, 193, 0.1);
    border: 2px solid rgba(111, 66, 193, 0.2);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.event-registration-status.registered {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}

.registration-status-text {
    font-weight: 600;
    margin: 0;
}

.registration-status-text.registered {
    color: #22c55e;
}

.registration-status-text.not-registered {
    color: var(--primary-color);
}

.event-modal-footer {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.event-modal-footer .btn {
    flex: 1;
    margin-bottom: 0;
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    border: none;
}

.btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
}

.btn-registered {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
}

.btn-cancel-registration {
    background: transparent;
    border: 2px solid var(--danger-color);
    color: var(--danger-color);
}

.btn-cancel-registration:hover {
    background: var(--danger-color);
    color: white;
}

.btn-close-modal {
    background: transparent;
    border: 2px solid rgba(111, 66, 193, 0.3);
    color: var(--primary-color);
}

.btn-close-modal:hover {
    background: rgba(111, 66, 193, 0.1);
    border-color: var(--primary-color);
}

/* Event Type Styling in Modal */
.event-type-display {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.event-type-exclusive {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(168, 85, 247, 0.05));
    color: #a855f7;
}

.event-type-general {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
    color: #3b82f6;
}

.event-type-partner {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    color: #22c55e;
}

.event-type-member_only {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    color: #f59e0b;
}

.event-type-promotional {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
    color: #ef4444;
}

/* Loading State for Event Actions */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

.btn-loading span {
    opacity: 0;
}

/* Responsive Event Modal */
@media (max-width: 600px) {
    .event-modal {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 2rem;
    }
    
    .event-modal-content {
        max-height: 95vh;
    }
    
    .event-modal-header {
        padding: 1.25rem;
    }
    
    .event-modal-header h3 {
        font-size: 1.1rem;
        margin-right: 3rem;
    }
    
    .event-modal-body {
        padding: 1.25rem;
    }
    
    .event-details-grid {
        gap: 1.25rem;
    }
    
    .event-modal-footer {
        padding: 0 1.25rem 1.25rem;
        flex-direction: column;
    }
    
    .event-modal-footer .btn {
        width: 100%;
    }
}

/* ============================================
   NEW DESIGN SYSTEM - UTILITY CLASSES
   Matching shoppers-club-bundle design
   ============================================ */

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient Backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.gradient-bg-dark {
    background: linear-gradient(135deg, var(--dark-purple), var(--gradient-end));
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Feature Card with Glow */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--pale-purple) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::after {
    opacity: 1;
}

/* Card Icon */
.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-pink));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-md);
    color: white;
    font-size: 1.5rem;
}

/* Stats Display */
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-top: 0.25rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-purple), var(--accent-pink));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-purple);
}

/* Navigation Icons - Updated Colors */
.nav a[href*="dashboard"]::before,
.nav a[href*="membership-card"]::before,
.nav a[href*="shipments"]::before,
.nav a[href*="profile"]::before,
.nav a[href*="create-shipment"]::before,
.nav a[href*="track"]::before,
.nav a[href*="more"]::before {
    filter: hue-rotate(0deg);
}

/* Active Nav Item Gradient */
.nav a.active {
    color: var(--primary-purple);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.05));
}

/* Balance Widget */
.balance-card {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-pink));
    color: white;
    border-radius: var(--border-radius-large);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.balance-amount {
    font-size: 2rem;
    font-weight: 800;
}

.balance-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Quick Action Grid */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.quick-action-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.quick-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--light-purple);
}

.quick-action-btn i {
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
    display: block;
}

.quick-action-btn span {
    font-size: 0.875rem;
    font-weight: 600;
}