/* 1832 Membership Plugin - Professional Dashboard Styles */

/* Reset and base styles - strictly scoped */
.club1832-member-dashboard {
    line-height: 1.6;
    color: #1a202c;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0;
    background: #f8fafc;
    min-height: 100vh;
}

.club1832-member-dashboard * {
    box-sizing: border-box;
}

/* Dashboard Header */
.club1832-dashboard-header {
    padding: 30px;
    background: #2d2f77 !important;
    color: white;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    background-image: var(--club1832-flag-bg) !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.club1832-dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 47, 119, 0.85) 0%, rgba(61, 79, 135, 0.85) 50%, rgba(77, 95, 151, 0.85) 100%);
    z-index: 0;
}

.club1832-dashboard-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    gap: 2rem;
}

.club1832-dashboard-header .welcome-section {
    flex: 1;
}

.club1832-dashboard-header .header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
}

.club1832-dashboard-header .quick-actions-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
}

.header-action-button {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.95);
    text-decoration: none;
    color: #2d2f77;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 150px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: 500;
}

.header-action-button:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    text-decoration: none;
    color: #2d2f77;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.header-action-button .action-icon {
    font-size: 1.75rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
    opacity: 0.8;
}

.header-action-button .action-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header-action-button .action-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.25rem;
    color: #2d2f77;
}

.header-action-button .action-subtitle {
    font-size: 0.8rem;
    opacity: 0.7;
    line-height: 1.2;
    color: #374151;
}

.header-action-button.forum-button {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-color: #2d2f77; 
}

.header-action-button.forum-button:hover {
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
    border-color: #ef4444;
    color: #dc2626;
}

.header-action-button.forum-button:hover .action-title {
    color: #dc2626;
}

.header-action-button.events-button {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-color:#2d2f77; 
}

.header-action-button.events-button:hover {
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
    border-color: #f59e0b;
    color: #d97706;
}

.header-action-button.events-button:hover .action-title {
    color: #d97706;
}

.club1832-dashboard-header h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2.5rem;
    font-weight: 300;
    color: white;
}

.club1832-dashboard-header p {
    margin: 0;
    font-size: 1.125rem;
    opacity: 0.9;
}

.member-status .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    color: #2d2f77;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: club1832-pulse 2s infinite;
}

.status-inactive .status-dot {
    background: #f59e0b;
}

@keyframes club1832-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Quick Stats Cards */
.club1832-member-dashboard .dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 0 3rem;
}

.club1832-member-dashboard .stat-card {
    background: white;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.club1832-member-dashboard .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
}

.club1832-member-dashboard .stat-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.club1832-member-dashboard .stat-content h3 {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.club1832-member-dashboard .stat-content p {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.club1832-member-dashboard .payment-status.payment-paid {
    color: #10b981;
}

.club1832-member-dashboard .payment-status.payment-pending {
    color: #f59e0b;
}

/* Main Dashboard */
.club1832-member-dashboard .dashboard-main {
    padding: 0 3rem 2rem;
}

.club1832-member-dashboard .dashboard-tabs {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Tab Navigation */
.club1832-member-dashboard .tab-navigation {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.club1832-member-dashboard .tab-button {
    flex: 1;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-bottom: 3px solid transparent;
    font-size: 0.875rem;
    text-decoration: none;
}

.club1832-member-dashboard .tab-button:hover {
    color: #2d2f77;
    background: #f1f5f9;
}

.club1832-member-dashboard .tab-button.active {
    color: #2d2f77;
    background: white;
    border-bottom-color: #2d2f77;
    font-weight: 600;
}

.club1832-member-dashboard .tab-icon {
    font-size: 1rem;
}

/* ========================================
   FORUM STYLES - Professional Design
   ======================================== */

/* Forum Container */
.club1832-forum {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: #f8fafc;
    min-height: 100vh;
}

/* Forum Header */
.club1832-forum-header {
    background: #2d2f77;
    color: white;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.2);
}

.club1832-forum-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="forum-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23forum-grain)"/></svg>') repeat;
    opacity: 0.1;
}

.forum-title-section {
    position: relative;
    z-index: 1;
}

.forum-title {
    margin: 0 0 0.5rem 0;
    font-size: 2.5rem;
    font-weight: 300;
    color: white;
}

.forum-subtitle {
    margin: 0;
    font-size: 1.125rem;
    opacity: 0.9;
    color: white;
}

/* Forum Buttons - Properly scoped */
.club1832-member-dashboard .club1832-btn,
.club1832-forum .club1832-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: inherit;
}

.club1832-member-dashboard .club1832-btn-primary,
.club1832-forum .club1832-btn-primary {
    background: #2d2f77;
    color: white !important;
    border: 1px solid #2d2f77 !important;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.club1832-member-dashboard .club1832-btn-primary:hover,
.club1832-forum .club1832-btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.club1832-member-dashboard .club1832-btn-secondary,
.club1832-forum .club1832-btn-secondary {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.club1832-member-dashboard .club1832-btn-secondary:hover,
.club1832-forum .club1832-btn-secondary:hover {
    background: #f1f5f9!important;
    color: #2d2f77 !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-1px);
}

.club1832-btn-outline {
    background: white;
    color: #2d2f77;
    border: 2px solid #e2e8f0;
}

.club1832-btn-outline:hover {
    background: #f8fafc;
    border-color: #2d2f77;
}

.club1832-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn-icon {
    font-size: 1.125rem;
    font-weight: normal;
}

/* New Post Form */
.club1832-new-post-form {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-header {
    background: #f8fafc;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.form-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.club1832-forum-form {
    padding: 2rem;
}

.club1832-form-group {
    margin-bottom: 1.5rem;
}

.club1832-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.club1832-form-input,
.club1832-form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    font-size: 1rem;
    transition: all 0.2s ease;
    font-family: inherit;
    background: white;
    color: #1a202c !important;
    resize: vertical;
}

/* Add specific styles for all input types in forum */
.club1832-forum input[type="text"],
.club1832-forum input[type="email"],
.club1832-forum input[type="password"],
.club1832-forum textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    font-size: 1rem;
    transition: all 0.2s ease;
    font-family: inherit;
    background: white;
    color: #1a202c !important;
    resize: vertical;
}

.club1832-form-input:focus,
.club1832-form-textarea:focus {
    outline: none;
    border-color: #2d2f77;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.club1832-forum input[type="text"]:focus,
.club1832-forum input[type="email"]:focus,
.club1832-forum input[type="password"]:focus,
.club1832-forum textarea:focus {
    outline: none;
    border-color: #2d2f77;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.club1832-form-textarea {
    min-height: 120px;
}

.club1832-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

/* Forum Posts Container */
.club1832-forum-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Individual Forum Post */
.club1832-forum-post {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.club1832-forum-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
}

.post-avatar {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 1;
}

.forum-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-main {
    padding: 2rem 2rem 2rem 5.5rem;
    position: relative;
}

.post-header {
    margin-bottom: 1rem;
}

.post-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.post-author {
    font-weight: 600;
    color: #2d2f77;
}

.post-separator {
    color: #cbd5e1;
}

.post-date,
.post-replies {
    color: #64748b;
}

.post-content {
    margin-bottom: 1.5rem;
    color: #374151;
    line-height: 1.6;
}

.post-content p {
    margin-bottom: 1rem;
}

.post-content p:last-child {
    margin-bottom: 0;
}

/* Post Actions */
.post-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.club1832-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.club1832-action-btn:hover {
    background: #f1f5f9;
    color: #2d2f77;
    border-color: #cbd5e1;
}

/* Reply Form */
.reply-form {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem 2rem;
}

.club1832-forum-reply-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reply-input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.club1832-reply-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    font-size: 0.875rem;
    font-family: inherit;
    background: white;
    resize: vertical;
    min-height: 80px;
    transition: all 0.2s ease;
}

.club1832-reply-textarea:focus {
    outline: none;
    border-color: #2d2f77;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.reply-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

/* Post Replies */
.post-replies {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem 2rem;
}

.reply-item {
    background: white;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}

.reply-item:last-child {
    margin-bottom: 0;
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.reply-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.reply-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
}

.reply-author {
    font-weight: 600;
    color: #2d2f77;
}

.reply-content {
    color: #374151;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* No Posts State */
.club1832-no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.no-posts-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.club1832-no-posts h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.club1832-no-posts p {
    margin: 0;
    color: #64748b;
    font-size: 1.125rem;
}

/* Forum Pagination */
.club1832-forum-pagination {
    text-align: center;
    margin-top: 2rem;
}

/* Enhanced Dashboard Improvements */
.club1832-member-dashboard .dashboard-header {
    position: relative;
}

.club1832-member-dashboard .dashboard-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #2d2f77;
}

.club1832-member-dashboard .stat-card {
    position: relative;
    overflow: hidden;
}

.club1832-member-dashboard .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #2d2f77;
}

.club1832-member-dashboard .tab-button {
    position: relative;
    overflow: hidden;
}

.club1832-member-dashboard .tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.club1832-member-dashboard .tab-button:hover::before {
    left: 100%;
}

/* Forum Responsive Design - Fixed breakpoints */
@media (max-width: 1024px) {
    .club1832-forum {
        padding: 1.5rem;
    }
    
    .club1832-forum-header {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .club1832-forum {
        padding: 1rem;
    }
    
    .club1832-forum-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .forum-title {
        font-size: 1.875rem;
    }
    
    .post-main {
        padding: 1.5rem 1rem 1rem 1rem;
    }
    
    .post-avatar {
        position: static;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .post-actions {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .club1832-form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .reply-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .forum-title {
        font-size: 1.5rem;
    }
    
    .post-title {
        font-size: 1.125rem;
    }
    
    .club1832-forum-form,
    .reply-form {
        padding: 1rem;
    }
    
    .club1832-btn {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
    }
    
    .post-main {
        padding: 1rem 0.75rem;
    }
}

/* Loading States */
.club1832-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

.club1832-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #2d2f77;
    border-radius: 50%;
    animation: club1832-spin 1s linear infinite;
}

@keyframes club1832-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.club1832-message {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.club1832-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.club1832-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Accessibility Improvements */
.club1832-btn:focus,
.club1832-action-btn:focus,
.club1832-form-input:focus,
.club1832-form-textarea:focus,
.club1832-reply-textarea:focus {
    outline: 2px solid #2d2f77;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .club1832-forum-header,
    .club1832-new-post-form,
    .post-actions,
    .reply-form,
    .club1832-forum-pagination {
        display: none;
    }
    
    .club1832-forum-post {
        box-shadow: none;
        border: 1px solid #e2e8f0;
        break-inside: avoid;
    }
}

/* Tab Content Areas - Professional Styling */
.club1832-member-dashboard .tab-content {
    display: none;
    padding: 2.5rem;
    background: white;
    animation: club1832-fadeIn 0.3s ease-in-out;
}

.club1832-member-dashboard .tab-content.active {
    display: block;
}

@keyframes club1832-fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section Headers */
.club1832-member-dashboard .section-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.club1832-member-dashboard .section-header h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.875rem;
    font-weight: 600;
    color: #1e293b;
    background: #2d2f77;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.club1832-member-dashboard .section-header p {
    margin: 0;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
}

/* Profile Section Styling - Match Membership/Payments */
.club1832-member-dashboard .profile-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.club1832-member-dashboard .profile-section .section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2d2f77;
    margin: 0 0 0.5rem 0;
    background: #2d2f77;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.club1832-member-dashboard .profile-section .section-header p {
    color: #64748b;
    font-size: 1.125rem;
    margin: 0;
}

/* Profile Form Styling */
.club1832-member-dashboard .profile-form {
    background: #f8fafc;
    padding: 2rem;
    border: 1px solid #e2e8f0;
}

.club1832-member-dashboard .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.club1832-member-dashboard .form-group {
    display: flex;
    flex-direction: column;
}

.club1832-member-dashboard .form-group.full-width {
    grid-column: 1 / -1;
}

.club1832-member-dashboard .form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.club1832-member-dashboard .form-group .required {
    color: #ef4444;
    margin-left: 0.25rem;
}

.club1832-member-dashboard .form-group input,
.club1832-member-dashboard .form-group textarea,
.club1832-member-dashboard .form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    font-size: 1rem;
    transition: all 0.2s ease;
    font-family: inherit;
    background: white;
    color: #1a202c;
}

.club1832-member-dashboard .form-group input:focus,
.club1832-member-dashboard .form-group textarea:focus,
.club1832-member-dashboard .form-group select:focus {
    outline: none;
    border-color: #2d2f77;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.club1832-member-dashboard .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Form Actions */
.club1832-member-dashboard .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.club1832-member-dashboard .btn-primary {
    background: #2d2f77;
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.club1832-member-dashboard .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.club1832-member-dashboard .btn-secondary {
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.club1832-member-dashboard .btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

/* Membership Tab Styling */
.club1832-member-dashboard .membership-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.club1832-member-dashboard .membership-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.club1832-member-dashboard .membership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #2d2f77;
}

.club1832-member-dashboard .membership-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.club1832-member-dashboard .membership-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.club1832-member-dashboard .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.club1832-member-dashboard .detail-label {
    font-weight: 500;
    color: #64748b;
    font-size: 0.875rem;
}

.club1832-member-dashboard .detail-value {
    font-weight: 600;
    color: #1e293b;
}

.club1832-member-dashboard .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.club1832-member-dashboard .status-active {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.club1832-member-dashboard .status-pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.club1832-member-dashboard .status-inactive {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Payment History Styling */
.club1832-member-dashboard .payment-history {
    background: white;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.club1832-member-dashboard .payment-table {
    width: 100%;
    border-collapse: collapse;
}

.club1832-member-dashboard .payment-table th {
    background: #f8fafc;
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e2e8f0;
}

.club1832-member-dashboard .payment-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
}

.club1832-member-dashboard .payment-table tr:hover {
    background: #f8fafc;
}

.club1832-member-dashboard .payment-amount {
    font-weight: 600;
    color: #059669;
}

.club1832-member-dashboard .payment-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.club1832-member-dashboard .payment-paid {
    background: #dcfce7;
    color: #166534;
}

.club1832-member-dashboard .payment-pending {
    background: #fef3c7;
    color: #92400e;
}

/* Settings Tab Styling */
.club1832-member-dashboard .settings-section {
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
}

.club1832-member-dashboard .settings-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.club1832-member-dashboard .settings-section .section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2d2f77;
    margin: 0 0 0.5rem 0;
    background: #2d2f77;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.club1832-member-dashboard .settings-section .section-header p {
    color: #64748b;
    font-size: 1.125rem;
    margin: 0;
}

.club1832-member-dashboard .settings-cards {
    display: grid;
    gap: 1.5rem;
    padding: 2rem;
}

.club1832-member-dashboard .settings-cards .info-card {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.club1832-member-dashboard .settings-cards .card-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}

.club1832-member-dashboard .settings-cards .card-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
}

.club1832-member-dashboard .settings-cards .card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.club1832-member-dashboard .settings-cards .card-content p {
    margin: 0;
    color: #64748b;
    line-height: 1.5;
}

.club1832-member-dashboard .settings-cards .btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.club1832-member-dashboard .settings-cards .btn-secondary {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.club1832-member-dashboard .settings-cards .btn-secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.club1832-member-dashboard .settings-cards .btn-primary {
    background: #2d2f77;
    color: white;
    border: 1px solid #2d2f77;
}

.club1832-member-dashboard .settings-cards .btn-primary:hover {
    background: #2d2f77;
    border-color: #2d2f77;
    transform: translateY(-1px);
}

.club1832-member-dashboard .setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.club1832-member-dashboard .setting-item:last-child {
    border-bottom: none;
}

.club1832-member-dashboard .setting-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.club1832-member-dashboard .setting-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

.club1832-member-dashboard .toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.club1832-member-dashboard .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.club1832-member-dashboard .toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
}

.club1832-member-dashboard .toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.club1832-member-dashboard .toggle-switch input:checked + .toggle-slider {
    background-color: #2d2f77;
}

.club1832-member-dashboard .toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Empty State Styling */
.club1832-member-dashboard .empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

.club1832-member-dashboard .empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.club1832-member-dashboard .empty-state h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.club1832-member-dashboard .empty-state p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive Dashboard Design - Fixed breakpoints */
@media (max-width: 1400px) {
    .club1832-member-dashboard {
        max-width: 1200px;
    }
    
    .club1832-dashboard-header {
        padding: 3rem 2.5rem;
    }
    
    .club1832-member-dashboard .dashboard-stats {
        padding: 0 2.5rem;
    }
    
    .club1832-member-dashboard .dashboard-main {
        padding: 0 2.5rem 2rem;
    }
}

@media (max-width: 1024px) {
    .club1832-member-dashboard {
        max-width: 100%;
    }
    
    .club1832-dashboard-header {
        padding: 2rem 2rem;
    }
    
    .club1832-member-dashboard .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 2rem;
    }
    
    .club1832-member-dashboard .dashboard-main {
        padding: 0 2rem 2rem;
    }
    
    .club1832-member-dashboard .tab-button {
        font-size: 0.875rem;
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 768px) {
    .club1832-member-dashboard {
        padding: 0.5rem;
    }
    
    .club1832-dashboard-header {
        padding: 2rem 1.5rem;
    }
    
    .club1832-dashboard-header .header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .club1832-dashboard-header .header-actions {
        align-items: stretch;
    }
    
    .club1832-dashboard-header .quick-actions-header {
        justify-content: center;
    }
    
    .header-action-button {
        flex: 1;
        justify-content: center;
        min-width: auto;
        padding: 0.875rem 1.25rem;
    }
    
    .club1832-dashboard-header {
        padding: 2rem 1.5rem;
    }
    
    .club1832-dashboard-header h1 {
        font-size: 1.875rem;
    }
    
    .club1832-member-dashboard .dashboard-stats {
        grid-template-columns: 1fr;
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .club1832-member-dashboard .dashboard-main {
        padding: 0 0.5rem 1rem;
    }
    
    .club1832-member-dashboard .tab-navigation {
        flex-direction: column;
    }
    
    .club1832-member-dashboard .tab-button {
        flex: none;
        width: 100%;
        justify-content: flex-start;
        padding: 0.875rem 1rem;
    }
    
    .club1832-member-dashboard .tab-content {
        padding: 1.5rem 1rem;
    }
    
    .club1832-member-dashboard .form-grid {
        grid-template-columns: 1fr;
    }
    
    .club1832-member-dashboard .form-actions {
        flex-direction: column;
    }
    
    .club1832-member-dashboard .membership-overview {
        grid-template-columns: 1fr;
    }
    
    .club1832-member-dashboard .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .club1832-dashboard-header .quick-actions-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .header-action-button {
        justify-content: flex-start;
    }
    
    .club1832-dashboard-header h1 {
        font-size: 1.5rem;
    }
    
    .club1832-member-dashboard .stat-card {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
    }
    
    .club1832-member-dashboard .tab-button {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
    
    .club1832-member-dashboard .section-header h2 {
        font-size: 1.25rem;
    }
    
    .club1832-member-dashboard .tab-content {
        padding: 1rem 0.75rem;
    }
}

/* Loading and Success States */
.club1832-member-dashboard .loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    /* Only show when specifically triggered by plugin */
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.club1832-member-dashboard .loading-overlay.active {
    visibility: visible;
    opacity: 1;
}

.club1832-member-dashboard .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #2d2f77;
    border-radius: 50%;
    animation: club1832-spin 1s linear infinite;
}

.club1832-member-dashboard .success-message {
    background: #dcfce7;
    color: #166534;
    padding: 1rem 1.5rem;

    margin-bottom: 1rem;
    border: 1px solid #bbf7d0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.club1832-member-dashboard .error-message {
    background: #fef2f2;
    color: #dc2626;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid #fecaca;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Login Form Container - Enhanced Styles */
.club1832-login-container {
    max-width: 500px !important;
    width: 100% !important;
    margin: 2rem auto !important;
    background: #ffffff !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    min-width: 320px !important;
}

.club1832-login-container * {
    box-sizing: border-box;
}

.club1832-login-header {
    background: #2d2f77;
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
    background-image: var(--club1832-flag-bg) !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.club1832-login-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 47, 119, 0.85);
    z-index: 0;
}

.club1832-login-header h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.75rem;
    font-weight: 600;
    color: white;
    position: relative;
    z-index: 1;
}

.club1832-login-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Form Styles */
.club1832-login-form {
    padding: 2rem;
}

.club1832-login-form .form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.club1832-login-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
    font-size: 0.95rem;
}

.club1832-login-form .field-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.club1832-login-form input[type="email"],
.club1832-login-form input[type="password"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #1a202c !important;
    font-family: inherit;
}

.club1832-login-form input[type="email"]:focus,
.club1832-login-form input[type="password"]:focus {
    outline: none;
    border-color: #2d2f77;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.club1832-login-form input[type="email"]::placeholder,
.club1832-login-form input[type="password"]::placeholder {
    color: #9ca3af;
    opacity: 1;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 2.25rem;
}

.toggle-password {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: all 0.2s ease;
}

.toggle-password:hover {
    color: #2d2f77;
    background: rgba(59, 130, 246, 0.1);
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #374151;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 1.125rem;
    height: 1.125rem;
    accent-color: #2d2f77;
}

/* Login Button */
.login-button {
    width: 100%;
    background: #2d2f77;
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
}

.login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.login-button:active {
    transform: translateY(0);
}

.login-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.button-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Footer Styles */
.club1832-login-footer {
    padding: 1.5rem 2rem 2rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.login-links {
    text-align: center;
    margin-bottom: 1.5rem;
}

.forgot-password-link {
    color: #2d2f77;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.forgot-password-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.registration-section {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.registration-text {
    margin: 0 0 1rem 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.register-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.register-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    color: white;
    text-decoration: none;
}

/* Message Styles */
.login-message {
    margin-top: 1rem;
    padding: 0.75rem;
    font-size: 0.95rem;
    display: none;
}

.login-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block;
}

.login-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

.register-button .button-icon {
    font-size: 1rem;
}

.registration-note {
    margin: 0.75rem 0 0 0;
    color: #9ca3af;
    font-size: 0.875rem;
}

.logged-in-message {
    max-width: 450px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #e2e8f0;
}

.logged-in-message p {
    margin: 0;
    color: #374151;
    font-size: 1rem;
}

.logout-link {
    color: #2d2f77;
    text-decoration: none;
    font-weight: 500;
}

.logout-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 480px) {
    .club1832-login-container {
        margin: 1rem !important;
        max-width: none !important;
        width: calc(100% - 2rem) !important;
    }
    
    .club1832-login-header,
    .club1832-login-form,
    .club1832-login-footer {
        padding: 1.5rem;
    }
    
    .club1832-login-header h2 {
        font-size: 1.5rem;
    }
}

/* Ensure styles override theme defaults */
.club1832-login-container,
.club1832-login-container * {
    box-sizing: border-box !important;
}

.club1832-access-denied {
    max-width: 600px !important;
    margin: 2rem auto !important;
    background: white !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

.club1832-access-denied .access-denied-header {
    background: #bd1f37 !important;
    color: #ffffff !important;
    padding: 2rem !important;
    text-align: center !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
}

.club1832-access-denied .access-denied-header h3 {
    margin: 0 0 1rem 0 !important;
    font-size: 1.5rem !important;
    color: #ffffff!important;
    font-weight: 400 !important;
}

.club1832-access-denied .access-denied-icon {
    font-size: 3rem !important;
    color: #64748b !important;
    margin-bottom: 1rem !important;
}

.club1832-access-denied .access-denied-message {
    margin: 0 !important;
    color: #fff !important;
    font-size: 1rem !important;
}

.club1832-access-denied .access-denied-content {
    padding: 2rem !important;
}

.club1832-access-denied .login-prompt {
    text-align: center !important;
    margin-bottom: 2rem !important;
    color: #64748b !important;
}

.club1832-access-denied .inline-login-form {
    background: #f8fafc !important;
    padding: 1.5rem !important;
    margin-bottom: 2rem !important;
    border-radius: 0 !important;
    border: none !important;
}

.club1832-access-denied .inline-login-form h4 {
    margin: 0 0 1rem 0 !important;
    color: #1e293b !important;
    font-size: 1.125rem !important;
    font-weight: 400 !important;
    text-align: center !important;
}

.club1832-access-denied .form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
    margin-bottom: 1rem !important;
}

.club1832-access-denied .form-group {
    margin-bottom: 1rem !important;
}

.club1832-access-denied .form-group label {
    display: block !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
    color: #374151 !important;
    font-size: 0.875rem !important;
}

.club1832-access-denied input[type="email"],
.club1832-access-denied input[type="password"] {
    width: 100% !important;
    padding: 0.75rem !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 0 !important;
    font-size: 0.875rem !important;
    background: white !important;
    color: #1a202c !important;
    transition: all 0.2s ease !important;
}

.club1832-access-denied input[type="email"]:focus,
.club1832-access-denied input[type="password"]:focus {
    outline: none !important;
    border-color: #2d2f77 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.club1832-access-denied .login-button {
    width: 100% !important;
    padding: 0.875rem !important;
    background: #2d2f77 !important;
    color: white !important;
    border: none !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 1rem !important;
}

.club1832-access-denied .login-button:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3) !important;
    color: #fff !important;
    background: #2d2f77 !important;
}

.club1832-access-denied .login-message {
    margin-top: 1rem !important;
    padding: 0.75rem !important;
    font-size: 0.875rem !important;
    text-align: center !important;
}

.club1832-access-denied .divider {
    text-align: center !important;
    margin: 2rem 0 !important;
    position: relative !important;
    color: #64748b !important;
    font-size: 0.875rem !important;
}

.club1832-access-denied .divider::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: #e2e8f0 !important;
}

.club1832-access-denied .divider span {
    background: white !important;
    padding: 0 1rem !important;
    color: #64748b !important;
    position: relative !important;
}

.club1832-access-denied .access-denied-actions {
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.club1832-access-denied .access-denied-actions .button {
    padding: 0.875rem 1.5rem !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    transition: all 0.2s ease !important;
    border-radius: 0 !important;
    font-size: 1rem !important;
}

.club1832-access-denied .access-denied-actions .button-primary {
    background: #2d2f77 !important;
    color: white !important;
    border: 1px solid #2d2f77 !important;
}

.club1832-access-denied .access-denied-actions .button-primary:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3) !important;
    background: #2d2f77 !important;
    color: white !important;
}

.club1832-access-denied .access-denied-actions .button:not(.button-primary) {
    background: #f8fafc !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
}

.club1832-access-denied .access-denied-actions .button:not(.button-primary):hover {
    background: #f1f5f9 !important;
    color: #2d2f77 !important;
    border-color: #cbd5e1 !important;
}

/* Better responsive breakpoints */
@media (max-width: 768px) {
    .club1832-login-container {
        margin: 1rem !important;
        max-width: none !important;
        width: calc(100% - 2rem) !important;
    }
    
    .club1832-access-denied {
        margin: 1rem !important;
        max-width: none !important;
        width: calc(100% - 2rem) !important;
    }
    
    .club1832-access-denied .form-row {
        grid-template-columns: 1fr !important;
    }
    
    .club1832-access-denied .access-denied-actions {
        flex-direction: column !important;
    }
}

@media (min-width: 769px) {
    .club1832-login-container {
        min-width: 450px !important;
    }
    
    .club1832-access-denied {
        min-width: 600px !important;
    }
}

/* Enhanced Payment Status Styles */
.payment-status-card .payment-status-display {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-icon {
    font-size: 2em;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.payment-details h4 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.payment-status.payment-active {
    color: #28a745;
}

.payment-status.payment-past_due {
    color: #dc3545;
}

.payment-status.payment-trialing {
    color: #17a2b8;
}

.payment-status.payment-canceled {
    color: #6c757d;
}

.payment-status.payment-local_only {
    color: #007bff;
}

.membership-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.membership-details p {
    margin: 5px 0;
    font-size: 0.9em;
    color: #6c757d;
}

/* Payment History Styles */
.payment-history-card {
    margin-top: 20px;
}

.payment-history-list {
    max-height: 400px;
    overflow-y: auto;
}

.payment-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.payment-history-item:last-child {
    border-bottom: none;
}

.payment-info {
    flex: 1;
}

.payment-amount {
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.payment-amount .refunded {
    font-size: 0.8em;
    color: #dc3545;
    font-weight: normal;
}

.payment-date {
    color: #6c757d;
    font-size: 0.9em;
}

.status-badge {
    padding: 4px 8px;
    font-size: 0.8em;
    font-weight: 500;
    text-transform: uppercase;
}

.status-succeeded,
.status-paid {
    background-color: #d4edda;
    color: #155724;
}

.status-failed {
    background-color: #f8d7da;
    color: #721c24;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-refunded {
    background-color: #d1ecf1;
    color: #0c5460;
}

.payment-unavailable-card {
    text-align: center;
    padding: 40px 20px;
}

.payment-unavailable-card p {
    margin-bottom: 20px;
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .payment-status-display {
        flex-direction: column;
        text-align: center;
    }
    
    .payment-icon {
        align-self: center;
    }
}

/* Force styles to override theme conflicts */
.club1832-access-denied input[type="email"],
.club1832-access-denied input[type="password"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.75rem !important;
    border: 2px solid #e2e8f0 !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

/* Quick Actions Section */
.dashboard-quick-actions {
    margin: 30px 0;
    padding: 0;
}

.quick-actions-header {
    margin-bottom: 20px;
    text-align: center;
}

.quick-actions-header h2 {
    font-size: 24px;
    color: #2c3e50;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.quick-actions-header p {
    color: #7f8c8d;
    margin: 0;
    font-size: 16px;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.action-button {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    border: 2px solid #e9ecef;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #3498db;
    text-decoration: none;
    color: inherit;
}

.action-button .action-icon {
    font-size: 32px;
    margin-right: 16px;
    flex-shrink: 0;
}

.action-button .action-content {
    flex: 1;
}

.action-button .action-content h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.action-button .action-content p {
    margin: 0;
    color: #7f8c8d;
    font-size: 14px;
}

.action-button .action-arrow {
    font-size: 20px;
    color: #3498db;
    margin-left: 16px;
    transition: transform 0.3s ease;
}

.action-button:hover .action-arrow {
    transform: translateX(4px);
}

.forum-button:hover {
    border-color: #e74c3c;
}

.forum-button:hover .action-arrow {
    color: #e74c3c;
}

.events-button:hover {
    border-color: #f39c12;
}

.events-button:hover .action-arrow {
    color: #f39c12;
}

/* Responsive design */
@media (max-width: 768px) {
    .quick-actions-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .action-button {
        padding: 16px;
    }
    
    .action-button .action-icon {
        font-size: 28px;
        margin-right: 12px;
    }
}

/* Enhanced Payments Tab Styling - 1832 Brand */
.club1832-member-dashboard .payments-section {
    padding: 0;
    margin: 0;
}

.club1832-member-dashboard .payments-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.club1832-member-dashboard .payments-section .section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2d2f77;
    margin: 0 0 0.5rem 0;
    background: #2d2f77;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.club1832-member-dashboard .payments-section .section-header p {
    color: #64748b;
    font-size: 1.125rem;
    margin: 0;
}

/* Payment Cards Grid */
.club1832-member-dashboard .payment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Enhanced Card Styling */
.club1832-member-dashboard .payments-section .info-card {
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.club1832-member-dashboard .payments-section .info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #2d2f77;
}

.club1832-member-dashboard .payments-section .card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem;
}

.club1832-member-dashboard .payments-section .card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d2f77;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.club1832-member-dashboard .payments-section .card-header h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #2d2f77;
}

.club1832-member-dashboard .payments-section .card-content {
    padding: 1.5rem;
}

/* Payment Status Display */
.club1832-member-dashboard .payment-status-display {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.club1832-member-dashboard .payment-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.club1832-member-dashboard .payment-icon.payment-active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.club1832-member-dashboard .payment-icon.payment-active::before {
    content: '✓';
}

.club1832-member-dashboard .payment-icon.payment-inactive,
.club1832-member-dashboard .payment-icon.payment-past_due {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.club1832-member-dashboard .payment-icon.payment-inactive::before,
.club1832-member-dashboard .payment-icon.payment-past_due::before {
    content: '⚠';
}

.club1832-member-dashboard .payment-icon.payment-local_only {
    background: #2d2f77;
    color: white;
}

.club1832-member-dashboard .payment-icon.payment-local_only::before {
    content: 'ℹ';
}

.club1832-member-dashboard .payment-details {
    flex: 1;
}

.club1832-member-dashboard .payment-details h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.club1832-member-dashboard .payment-details h4.payment-active {
    color: #059669;
}

.club1832-member-dashboard .payment-details h4.payment-inactive,
.club1832-member-dashboard .payment-details h4.payment-past_due {
    color: #dc2626;
}

.club1832-member-dashboard .payment-details h4.payment-local_only {
    color: #1d4ed8;
}

.club1832-member-dashboard .payment-details p {
    margin: 0.25rem 0;
    color: #64748b;
    font-size: 0.95rem;
}

/* Membership Details */
.club1832-member-dashboard .membership-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.club1832-member-dashboard .membership-details p {
    margin: 0;
    padding: 0.75rem;
    background: #f8fafc;
    font-size: 0.9rem;
    border-left: 3px solid #2d2f77;
}

.club1832-member-dashboard .membership-details p strong {
    color: #2d2f77;
    display: block;
    margin-bottom: 0.25rem;
}

/* Payment Methods */
.club1832-member-dashboard .payment-methods-list {
    space-y: 1rem;
}

.club1832-member-dashboard .payment-method-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: 0.75rem;
}

.club1832-member-dashboard .method-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.club1832-member-dashboard .card-brand {
    font-weight: 600;
    color: #2d2f77;
    text-transform: uppercase;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    background: #dbeafe;
}

.club1832-member-dashboard .card-last4 {
    font-weight: 500;
    color: #374151;
}

.club1832-member-dashboard .card-expiry {
    color: #64748b;
    font-size: 0.875rem;
}

.club1832-member-dashboard .default-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.club1832-member-dashboard .no-payment-methods {
    text-align: center;
    color: #64748b;
    font-style: italic;
    padding: 2rem;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
}

/* Payment History */
.club1832-member-dashboard .payment-history-card {
    grid-column: 1 / -1;
}

.club1832-member-dashboard .payment-history-list {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
}

.club1832-member-dashboard .payment-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease;
}

.club1832-member-dashboard .payment-history-item:hover {
    background: #f8fafc;
}

.club1832-member-dashboard .payment-history-item:last-child {
    border-bottom: none;
}

.club1832-member-dashboard .payment-info {
    flex: 1;
}

.club1832-member-dashboard .payment-amount {
    font-weight: 600;
    font-size: 1.125rem;
    color: #2d2f77;
    margin-bottom: 0.25rem;
}

.club1832-member-dashboard .payment-amount .refunded {
    font-size: 0.875rem;
    color: #dc2626;
    font-weight: 500;
    margin-left: 0.5rem;
}

.club1832-member-dashboard .payment-date {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.club1832-member-dashboard .payment-description {
    color: #6b7280;
    font-size: 0.875rem;
    font-style: italic;
}

/* Status Badges */
.club1832-member-dashboard .status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border: 1px solid transparent;
}

.club1832-member-dashboard .status-succeeded,
.club1832-member-dashboard .status-paid {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-color: #10b981;
}

.club1832-member-dashboard .status-failed {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-color: #ef4444;
}

.club1832-member-dashboard .status-pending {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-color: #f59e0b;
}

.club1832-member-dashboard .status-refunded {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2d2f77;
    border-color: #2d2f77;
}

/* Payment Unavailable */
.club1832-member-dashboard .payment-unavailable-card {
    text-align: center;
    grid-column: 1 / -1;
}

.club1832-member-dashboard .payment-unavailable-card .card-content {
    padding: 3rem 2rem;
}

.club1832-member-dashboard .payment-unavailable-card p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.club1832-member-dashboard .payment-unavailable-card .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #2d2f77;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.club1832-member-dashboard .payment-unavailable-card .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    text-decoration: none;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .club1832-member-dashboard .payment-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .club1832-member-dashboard .payment-status-display {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .club1832-member-dashboard .payment-icon {
        align-self: center;
    }
    
    .club1832-member-dashboard .payment-history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .club1832-member-dashboard .payment-method-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .club1832-member-dashboard .membership-details {
        grid-template-columns: 1fr;
    }
    
    .club1832-member-dashboard .payments-section .section-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .club1832-member-dashboard .payments-section .card-header,
    .club1832-member-dashboard .payments-section .card-content {
        padding: 1rem;
    }
    
    .club1832-member-dashboard .payment-history-list {
        max-height: 400px;
    }
    
    .club1832-member-dashboard .payment-history-item {
        padding: 1rem;
    }
}

/* Enhanced Membership Tab Styling - Matching Payments Tab */
.club1832-member-dashboard .membership-section {
    padding: 0;
    margin: 0;
}

.club1832-member-dashboard .membership-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.club1832-member-dashboard .membership-section .section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2d2f77;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #2d2f77 0%, #3d4f87 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Update all blue colors to brand blue */
.club1832-member-dashboard h2,
.club1832-member-dashboard h3 {
    color: #2d2f77;
}

.club1832-member-dashboard .member-info h3 {
    color: #2d2f77;
}

.club1832-member-dashboard .member-info p strong {
    color: #2d2f77;
}

/* Navigation and Links */
.club1832-member-dashboard .nav-tab-wrapper .nav-tab.nav-tab-active {
    background: linear-gradient(135deg, #2d2f77 0%, #3d4f87 50%, #4d5f97 100%);
    border-color: #2d2f77;
}

.club1832-member-dashboard .nav-tab-wrapper .nav-tab:hover {
    background: linear-gradient(135deg, #2d2f77 0%, #3d4f87 100%) !important;
    border: 1px solid #2d2f77 !important;
}

.club1832-member-dashboard .nav-tab-wrapper .nav-tab.nav-tab-active:hover {
    color: #2d2f77 !important;
}

.club1832-member-dashboard .nav-tab-wrapper .nav-tab {
    color: #2d2f77;
}

.club1832-member-dashboard .nav-tab-wrapper .nav-tab:focus {
    border-color: #2d2f77;
}

/* Buttons and Interactive Elements */
.club1832-button {
    background: linear-gradient(135deg, #2d2f77, #3d4f87);
    border-color: #2d2f77;
}

.club1832-button:hover {
    background: linear-gradient(135deg, #3d4f87, #4d5f97);
}

.club1832-button.secondary {
    color: #2d2f77;
    border-color: #2d2f77;
}

.club1832-button.secondary:hover {
    background: linear-gradient(135deg, #2d2f77 0%, #3d4f87 100%);
}

/* Forum Styles */
.club1832-forum-header {
    background: linear-gradient(135deg, #2d2f77 0%, #3d4f87 50%, #4d5f97 100%);
}

.club1832-forum .forum-category h3 {
    color: #2d2f77;
    background: linear-gradient(135deg, #2d2f77 0%, #3d4f87 100%);
}

.club1832-forum .discussion-item:hover {
    border-top: 2px solid #2d2f77;
}

.club1832-forum .discussion-item:focus {
    outline: 2px solid #2d2f77;
}

.club1832-forum .discussion-meta {
    color: #2d2f77;
    background: linear-gradient(135deg, #2d2f77, #3d4f87);
}

.club1832-forum .discussion-title a {
    color: #2d2f77;
}

.club1832-forum .discussion-title a:hover {
    background: linear-gradient(135deg, #2d2f77 0%, #3d4f87 100%);
}

.club1832-forum .forum-stats {
    border-color: #2d2f77;
}

.club1832-forum .forum-category {
    background: linear-gradient(135deg, #2d2f77, #3d4f87);
}

.club1832-forum .forum-breadcrumb {
    background: linear-gradient(90deg, #2d2f77, #3d4f87, #4d5f97);
}

/* Account Settings */
.club1832-account-settings .form-table th {
    color: #2d2f77;
}

.club1832-account-settings .form-table input:focus,
.club1832-account-settings .form-table select:focus,
.club1832-account-settings .form-table textarea:focus {
    border-color: #2d2f77;
}

.club1832-account-settings .submit .club1832-button {
    background: #2d2f77;
    border: 1px solid #2d2f77;
}

.club1832-account-settings .submit .club1832-button:hover {
    background: #3d4f87;
    border-color: #3d4f87;
}

/* Payment History */
.club1832-payment-history .payment-item {
    background-color: #2d2f77;
}

.club1832-payment-history .payment-item:hover {
    border-top: 4px solid #2d2f77;
}

.club1832-payment-history .payment-header {
    background: linear-gradient(135deg, #2d2f77 0%, #3d4f87 50%, #4d5f97 100%);
}

.club1832-payment-history .payment-details input:focus {
    border-color: #2d2f77;
}

.club1832-payment-history .payment-actions a {
    color: #2d2f77;
}

.club1832-payment-history .payment-actions a:hover {
    color: #4d5f97;
}

.club1832-payment-history .payment-form input[type="checkbox"] {
    accent-color: #2d2f77;
}

.club1832-payment-history .payment-form .club1832-button {
    background: linear-gradient(135deg, #2d2f77 0%, #3d4f87 100%);
}

.club1832-payment-history .payment-status.paid {
    color: #2d2f77;
}

.club1832-payment-history .payment-status.pending {
    color: #4d5f97;
}

/* Member Directory */
.club1832-member-directory .member-card:focus {
    border-color: #2d2f77;
}

.club1832-member-directory .member-card .member-actions .club1832-button {
    background: linear-gradient(135deg, #2d2f77 0%, #3d4f87 100%);
}

.club1832-member-directory .member-search input:focus {
    background: #2d2f77;
}

.club1832-member-directory .member-search .club1832-button:hover {
    background: #4d5f97;
}

.club1832-member-directory .member-filters a.active {
    color: #2d2f77;
    border-color: #2d2f77;
}

.club1832-member-directory .member-filters a:hover {
    background: #2d2f77;
}

/* Notifications and Messages */
.club1832-notice.info {
    color: #2d2f77;
}

.club1832-notice.success {
    color: #2d2f77;
}

/* Quick Actions */
.dashboard-quick-actions .action-button {
    color: #2d2f77;
    background: linear-gradient(135deg, #2d2f77 0%, #3d4f87 100%);
}

.dashboard-quick-actions .action-button.forum {
    border-color: #2d2f77;
}

.dashboard-quick-actions .action-button.events {
    color: #2d2f77;
}

.dashboard-quick-actions .action-button.events:hover {
    background: linear-gradient(135deg, #2d2f77 0%, #3d4f87 100%);
}

/* Header Actions */
.header-action-button {
    background: linear-gradient(135deg, #2d2f77 0%, #3d4f87 100%);
}

.header-action-button.forum {
    color: #2d2f77;
}

.header-action-button.events {
    color: #4d5f97;
}

.header-action-button:hover {
    background: linear-gradient(135deg, #2d2f77 0%, #3d4f87 100%);
}

/* Discussion and Forum Elements */
.club1832-forum .new-discussion-form {
    border-left: 3px solid #2d2f77;
}

.club1832-forum .new-discussion-form h3 {
    color: #2d2f77;
}

.club1832-forum .discussion-replies .reply-item {
    color: #2d2f77;
}

.club1832-forum .discussion-content a {
    color: #2d2f77;
}

.club1832-forum .discussion-content a:hover {
    color: #4d5f97;
}

.club1832-forum .discussion-content a:visited {
    color: #3d4f87;
}

.club1832-forum .forum-pagination {
    border-left: 3px solid #2d2f77;
}

.club1832-forum .forum-pagination .page-numbers.current {
    color: #2d2f77;
}

/* Form Elements */
.club1832-form input:focus,
.club1832-form select:focus,
.club1832-form textarea:focus {
    border-color: #2d2f77;
}

/* Legacy blue color replacements */
.status-info { color: #2d2f77; }
.status-primary { color: #2d2f77; }
.text-primary { color: #2d2f77; }
.bg-primary { background-color: #2d2f77; }
.border-primary { border-color: #2d2f77; }

.club1832-member-dashboard .membership-section .section-header p {
    color: #64748b;
    font-size: 1.125rem;
    margin: 0;
}

/* Membership Cards Grid */
.club1832-member-dashboard .membership-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Enhanced Card Styling */
.club1832-member-dashboard .membership-section .info-card {
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.club1832-member-dashboard .membership-section .info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #2d2f77;
}

.club1832-member-dashboard .membership-section .card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem;
}

.club1832-member-dashboard .membership-section .card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d2f77;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.club1832-member-dashboard .membership-section .card-header h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #2d2f77;
}

.club1832-member-dashboard .membership-section .card-content {
    padding: 1.5rem;
}

/* Membership Status Display */
.club1832-member-dashboard .membership-status-display {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.club1832-member-dashboard .membership-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.club1832-member-dashboard .membership-icon.membership-active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.club1832-member-dashboard .membership-icon.membership-pending {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.club1832-member-dashboard .membership-icon.membership-suspended,
.club1832-member-dashboard .membership-icon.membership-inactive {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.club1832-member-dashboard .membership-details-content {
    flex: 1;
}

.club1832-member-dashboard .membership-details-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.club1832-member-dashboard .membership-details-content h4.membership-active {
    color: #059669;
}

.club1832-member-dashboard .membership-details-content h4.membership-pending {
    color: #d97706;
}

.club1832-member-dashboard .membership-details-content h4.membership-suspended,
.club1832-member-dashboard .membership-details-content h4.membership-inactive {
    color: #dc2626;
}

.club1832-member-dashboard .membership-details-content .status-description {
    margin: 0.5rem 0 1rem 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Membership Key Info */
.club1832-member-dashboard .membership-key-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.club1832-member-dashboard .membership-key-info p {
    margin: 0.5rem 0;
    color: #64748b;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.club1832-member-dashboard .membership-key-info p strong {
    color: #2d2f77;
}

.club1832-member-dashboard .duration-badge {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.club1832-member-dashboard .membership-number {
    background: #f0f9ff;
    color: #1e40af;
    padding: 0.25rem 0.5rem;
    font-weight: 600;
}

/* Member Info Grid */
.club1832-member-dashboard .member-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.club1832-member-dashboard .member-info-grid .info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-left: 3px solid #2d2f77;
    transition: all 0.2s ease;
}

.club1832-member-dashboard .member-info-grid .info-item:hover {
    background: #f1f5f9;
    transform: translateX(2px);
}

.club1832-member-dashboard .member-info-grid .info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.club1832-member-dashboard .member-info-grid .info-content {
    flex: 1;
}

.club1832-member-dashboard .member-info-grid .info-content label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2d2f77;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.club1832-member-dashboard .member-info-grid .info-content span {
    color: #374151;
    font-weight: 500;
}

/* Benefits Section */
.club1832-member-dashboard .membership-benefits-section {
    margin-bottom: 2rem;
}

.club1832-member-dashboard .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.club1832-member-dashboard .benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.club1832-member-dashboard .benefit-item.available {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #bbf7d0;
}

.club1832-member-dashboard .benefit-item.unavailable {
    background: linear-gradient(135deg, #fef2f2 0%, #fef7f7 100%);
    border: 1px solid #fecaca;
    opacity: 0.7;
}

.club1832-member-dashboard .benefit-item:hover {
    transform: translateY(-2px);
}

.club1832-member-dashboard .benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.club1832-member-dashboard .benefit-content {
    flex: 1;
}

.club1832-member-dashboard .benefit-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.club1832-member-dashboard .benefit-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.4;
}

.club1832-member-dashboard .benefit-status {
    flex-shrink: 0;
}

.club1832-member-dashboard .status-available {
    color: #059669;
    font-size: 1.25rem;
    font-weight: bold;
}

.club1832-member-dashboard .status-locked {
    color: #dc2626;
    font-size: 1.25rem;
}

/* Actions Section */
.club1832-member-dashboard .membership-actions-section {
    margin-bottom: 2rem;
}

.club1832-member-dashboard .actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.club1832-member-dashboard .action-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border: 2px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.club1832-member-dashboard .action-btn:hover {
    border-color: #2d2f77;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    text-decoration: none;
}

.club1832-member-dashboard .action-btn .action-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.club1832-member-dashboard .action-btn .action-text {
    flex: 1;
}

.club1832-member-dashboard .action-btn .action-text h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.club1832-member-dashboard .action-btn .action-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
}

/* No Member Data */
.club1832-member-dashboard .no-member-data {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

.club1832-member-dashboard .no-member-data p {
    margin: 0;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .club1832-member-dashboard .membership-cards {
        grid-template-columns: 1fr;
    }
    
    .club1832-member-dashboard .member-info-grid {
        grid-template-columns: 1fr;
    }
    
    .club1832-member-dashboard .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .club1832-member-dashboard .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .club1832-member-dashboard .membership-status-display {
        flex-direction: column;
        text-align: center;
    }
}

/* Global icon greyscale filter */
.dashicons,
.fa,
[class*="fa-"],
i[class*="fa-"],
.action-icon,
.stat-icon,
.tab-icon,
.btn-icon,
.field-icon,
.button-icon,
.info-icon,
.benefit-icon,
.payment-icon,
.membership-icon,
.access-denied-icon,
.no-posts-icon,
.category-icon,
.empty-state-icon {
    filter: grayscale(100%) !important;
    -webkit-filter: grayscale(100%) !important;
}

/* Ensure emoji icons are also greyscale */
.action-icon,
.stat-icon,
.tab-icon,
.btn-icon,
.field-icon,
.button-icon,
.info-icon,
.benefit-icon,
.no-posts-icon {
    filter: grayscale(100%) contrast(1.2) !important;
    -webkit-filter: grayscale(100%) contrast(1.2) !important;
}