/* ═══════════════════════════════════════════════════════════════════
   FR. GERASAMOS MISSION TRIP - DASHBOARD STYLES
   Member Dashboard Specific Styles
   ═══════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────
   DASHBOARD PAGE LAYOUT
   ───────────────────────────────────────────────────────────────────── */

.dashboard-page {
    background: linear-gradient(135deg, #0a0a2e 0%, #1a1a4e 100%);
    min-height: 100vh;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 20px 40px;
    min-height: calc(100vh - 60px);
}

/* ─────────────────────────────────────────────────────────────────────
   AUTH REQUIRED OVERLAY
   ───────────────────────────────────────────────────────────────────── */

.dashboard-auth-required {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.auth-required-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 400px;
}

.auth-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.auth-required-content h2 {
    color: var(--pure-white);
    font-size: 28px;
    margin-bottom: 15px;
}

.auth-required-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.back-link {
    display: block;
    margin-top: 20px;
    color: var(--turquoise);
    text-decoration: none;
    font-size: 14px;
}

.back-link:hover {
    text-decoration: underline;
}

/* ─────────────────────────────────────────────────────────────────────
   DASHBOARD TOP BAR (Compact Header)
   ───────────────────────────────────────────────────────────────────── */

.dashboard-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--turquoise);
    object-fit: cover;
}

.topbar-user {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.topbar-name {
    color: var(--pure-white);
    font-weight: 600;
    font-size: 15px;
}

.topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    color: #1a1a2e;
    width: fit-content;
}

.topbar-center {
    flex: 1;
    max-width: 300px;
    margin: 0 20px;
}

.topbar-progress {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.topbar-progress .progress-amount {
    font-size: 13px;
    color: var(--turquoise);
    font-weight: 600;
}

.topbar-progress .progress-goal {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.topbar-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.topbar-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--turquoise), #5fd4d4);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-notification-btn,
.topbar-menu-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.topbar-notification-btn:hover,
.topbar-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.topbar-notification-btn .notification-bell-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    background: #ff4757;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ─────────────────────────────────────────────────────────────────────
   COLLAPSIBLE NOTIFICATION PANEL
   ───────────────────────────────────────────────────────────────────── */

.notification-panel-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.notification-panel-wrapper.collapsed {
    max-height: 0;
    margin-bottom: 0;
    border: none;
    opacity: 0;
    pointer-events: none;
}

.notification-panel-wrapper.expanded {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
}

.notification-panel-wrapper .notification-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notification-panel-wrapper .notification-panel-header h3 {
    color: var(--pure-white);
    font-size: 14px;
    margin: 0;
}

.notification-minimize {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.notification-minimize:hover {
    background: rgba(255, 255, 255, 0.2);
}

.notification-panel-body {
    max-height: 300px;
    overflow-y: auto;
}

.notification-panel-body .notification-list {
    padding: 10px;
}

.notification-panel-body .notification-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-bottom: 8px;
}

.notification-panel-body .notification-item:last-child {
    margin-bottom: 0;
}

.notification-panel-body .notification-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.notification-panel-body .notification-item.unread {
    background: rgba(64, 224, 208, 0.1);
    border-left: 3px solid var(--turquoise);
}

.notification-panel-body .notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.notification-panel-body .notification-content {
    flex: 1;
    min-width: 0;
}

.notification-panel-body .notification-title {
    color: var(--pure-white);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
}

.notification-panel-body .notification-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-panel-body .notification-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    margin-top: 4px;
}

/* Mobile Top Bar Responsive */
@media (max-width: 768px) {
    .dashboard-top-bar {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 15px;
    }
    
    .topbar-center {
        order: 3;
        width: 100%;
        max-width: none;
        margin: 10px 0 0;
    }
    
    .topbar-name {
        font-size: 14px;
    }
    
    .topbar-avatar {
        width: 40px;
        height: 40px;
    }
}

/* ─────────────────────────────────────────────────────────────────────
   DASHBOARD HEADER
   ───────────────────────────────────────────────────────────────────── */

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.welcome-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.dashboard-avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    border: 3px solid var(--turquoise);
    box-shadow: 0 4px 20px rgba(64, 224, 208, 0.3);
    object-fit: cover;
}

.welcome-text {
    min-width: 0;
    overflow: hidden;
}

.welcome-text h1 {
    color: var(--pure-white);
    font-size: 28px;
    margin: 0 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-since {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

.quick-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.quick-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: var(--pure-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.quick-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.quick-action-btn.primary {
    background: var(--turquoise);
    border-color: var(--turquoise);
    color: var(--navy-blue);
}

.quick-action-btn.primary:hover {
    background: #5fd4d4;
}

.action-icon {
    font-size: 18px;
}

/* ─────────────────────────────────────────────────────────────────────
   DASHBOARD STATS
   ───────────────────────────────────────────────────────────────────── */

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 0;
    clear: both;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 36px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(64, 224, 208, 0.1);
    border-radius: 12px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    color: var(--pure-white);
    font-size: 24px;
    font-weight: 700;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* ─────────────────────────────────────────────────────────────────────
   DASHBOARD TABS
   ───────────────────────────────────────────────────────────────────── */

.dashboard-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow-x: auto;
}

.tab-btn {
    padding: 14px 24px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--pure-white);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: var(--navy-blue);
    background: var(--turquoise);
}

/* ─────────────────────────────────────────────────────────────────────
   TAB PANELS
   ───────────────────────────────────────────────────────────────────── */

.tab-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

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

/* ─────────────────────────────────────────────────────────────────────
   DASHBOARD CARDS
   ───────────────────────────────────────────────────────────────────── */

.panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header h3 {
    color: var(--pure-white);
    font-size: 18px;
    margin: 0;
}

.card-link {
    color: var(--turquoise);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.card-link:hover {
    text-decoration: underline;
}

.card-body {
    padding: 25px;
}

.card-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(64, 224, 208, 0.1);
    border: 1px solid var(--turquoise);
    border-radius: 20px;
    color: var(--turquoise);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-action-btn:hover {
    background: var(--turquoise);
    color: var(--navy-blue);
}

/* ─────────────────────────────────────────────────────────────────────
   PROGRESS BAR
   ───────────────────────────────────────────────────────────────────── */

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.progress-phase {
    color: var(--turquoise);
    font-weight: 600;
}

.progress-percent {
    color: var(--pure-white);
    font-weight: 700;
}

.progress-bar-container {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--turquoise), var(--gold));
    border-radius: 6px;
    transition: width 0.5s ease;
}

.progress-details {
    display: flex;
    justify-content: space-between;
}

.progress-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.detail-value {
    color: var(--pure-white);
    font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────────────
   ACTIVITY LIST
   ───────────────────────────────────────────────────────────────────── */

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

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.activity-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.activity-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.activity-text {
    color: var(--pure-white);
    font-size: 14px;
}

.activity-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* ─────────────────────────────────────────────────────────────────────
   QUICK LINKS
   ───────────────────────────────────────────────────────────────────── */

.quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--turquoise);
}

.quick-link-icon {
    font-size: 24px;
}

.quick-link-text {
    color: var(--pure-white);
    font-size: 14px;
    font-weight: 500;
}

/* ─────────────────────────────────────────────────────────────────────
   MESSAGES SECTION
   ───────────────────────────────────────────────────────────────────── */

.messages-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.compose-card {
    grid-column: 1;
}

.message-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: var(--pure-white);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--turquoise);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.message-success {
    text-align: center;
    padding: 30px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 10px;
}

.success-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.message-success p {
    color: #2ecc71;
    margin: 0;
    font-weight: 600;
}

/* Message List */
.message-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-item {
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.message-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.message-item.unread {
    border-left: 3px solid var(--turquoise);
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.message-direction {
    color: var(--turquoise);
    font-size: 12px;
    font-weight: 600;
}

.message-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.message-subject {
    color: var(--pure-white);
    font-weight: 600;
    margin-bottom: 5px;
}

.message-preview {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.no-messages-text,
.no-donations-text {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 30px;
}

/* ─────────────────────────────────────────────────────────────────────
   DONATIONS SECTION
   ───────────────────────────────────────────────────────────────────── */

.donations-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.donation-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.summary-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.summary-value {
    color: var(--pure-white);
    font-weight: 600;
}

.summary-value.large {
    font-size: 28px;
    color: var(--turquoise);
}

.donor-badge {
    color: var(--gold) !important;
}

.donor-levels-info {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.donor-levels-info h4 {
    color: var(--pure-white);
    font-size: 14px;
    margin: 0 0 15px;
}

.levels-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.levels-list li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.level-badge {
    margin-right: 8px;
}

.make-donation-cta {
    text-align: center;
    padding: 30px;
    background: rgba(64, 224, 208, 0.05);
    border-radius: 10px;
    margin-top: 20px;
}

.make-donation-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 15px;
}

/* Recurring Donation */
.recurring-info {
    text-align: center;
}

.recurring-info p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px;
}

.recurring-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.recurring-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: var(--pure-white);
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.coming-soon-text {
    color: var(--gold);
    font-size: 14px;
    font-style: italic;
}

/* ─────────────────────────────────────────────────────────────────────
   SETTINGS SECTION
   ───────────────────────────────────────────────────────────────────── */

.settings-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-hint {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.settings-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.setting-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.setting-label {
    color: var(--pure-white);
    font-weight: 500;
}

.setting-description {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--turquoise);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.toggle-switch input:disabled + .toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Danger Card */
.danger-card {
    border-color: rgba(255, 107, 107, 0.3);
}

.danger-card .card-header {
    border-bottom-color: rgba(255, 107, 107, 0.2);
}

.account-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--pure-white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-danger {
    background: #ff6b6b;
    border: none;
    color: white;
    opacity: 0.5;
    cursor: not-allowed;
}

.danger-text {
    color: rgba(255, 107, 107, 0.7);
    font-size: 13px;
    margin: 0;
}

/* ─────────────────────────────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--turquoise);
    color: var(--navy-blue);
}

.btn-primary:hover {
    background: #5fd4d4;
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 16px;
}

/* ─────────────────────────────────────────────────────────────────────
   DASHBOARD FOOTER
   ───────────────────────────────────────────────────────────────────── */

.dashboard-footer {
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 5px 0;
}

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

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

/* ─────────────────────────────────────────────────────────────────────
   RESPONSIVE DESIGN
   ───────────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .messages-container {
        grid-template-columns: 1fr;
    }
    
    .donations-container {
        grid-template-columns: 1fr;
    }
    
    .settings-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 80px 15px 30px;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    
    .welcome-section {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    
    .welcome-text h1 {
        font-size: 22px;
    }
    
    .quick-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .quick-action-btn {
        justify-content: center;
    }
    
    .dashboard-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-btn {
        padding: 12px 18px;
        font-size: 13px;
    }
    
    .panel-grid {
        grid-template-columns: 1fr;
    }
    
    .donation-summary {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .quick-links {
        grid-template-columns: 1fr;
    }
    
    .account-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .recurring-options {
        flex-direction: column;
    }
    
    .recurring-btn {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE-SPECIFIC ENHANCEMENTS
   Touch-friendly features for phones and tablets
   ═══════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────
   MOBILE BOTTOM NAVIGATION BAR
   Fixed bar at bottom for quick access on mobile
   ───────────────────────────────────────────────────────────────────── */

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(10, 10, 46, 0.95), rgba(10, 10, 46, 0.98));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
    padding-bottom: env(safe-area-inset-bottom, 8px);
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-item.active {
    color: var(--turquoise);
}

.mobile-nav-icon {
    font-size: 24px;
    line-height: 1;
}

.mobile-nav-label {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-nav-badge {
    position: absolute;
    top: 2px;
    right: 8px;
    background: #ff4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Show bottom nav on mobile */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }
    
    /* Add padding to dashboard to account for bottom nav */
    .dashboard-container {
        padding-bottom: 100px;
    }
    
    /* Hide encouragement widget on mobile when bottom nav is present */
    .encouragement-widget {
        bottom: 90px;
    }
}

/* ─────────────────────────────────────────────────────────────────────
   MOBILE MESSAGE COMPOSER
   Full-screen message composer for better mobile experience
   ───────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .compose-card {
        position: relative;
    }
    
    .compose-card .card-body {
        padding: 15px;
    }
    
    .message-form .form-group {
        margin-bottom: 15px;
    }
    
    .message-form input,
    .message-form textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 14px;
        border-radius: 12px;
    }
    
    .message-form textarea {
        min-height: 120px;
        resize: none;
    }
    
    .message-form .btn {
        width: 100%;
        padding: 16px;
        font-size: 16px;
    }
    
    /* Message list improvements */
    .message-item {
        padding: 15px;
        margin-bottom: 10px;
        border-radius: 12px;
    }
    
    .message-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .message-subject {
        font-size: 15px;
    }
    
    .message-preview {
        font-size: 14px;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* ─────────────────────────────────────────────────────────────────────
   MOBILE TOUCH ENHANCEMENTS
   Better touch feedback and interactions
   ───────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    /* Larger touch targets */
    .tab-btn {
        min-height: 48px;
        min-width: 48px;
    }
    
    .stat-card {
        min-height: 80px;
    }
    
    .quick-link {
        min-height: 56px;
        padding: 16px;
    }
    
    .activity-item {
        padding: 14px;
        min-height: 60px;
    }
    
    /* Touch feedback */
    .dashboard-card:active,
    .stat-card:active,
    .quick-link:active,
    .activity-item:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    /* Smooth scrolling for tabs */
    .dashboard-tabs {
        scroll-snap-type: x mandatory;
        scroll-padding: 10px;
    }
    
    .tab-btn {
        scroll-snap-align: start;
    }
    
    /* Pull-down visual indicator */
    .dashboard-content::before {
        content: '';
        display: block;
        height: 4px;
        width: 40px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
        margin: 0 auto 20px;
    }
}

/* ─────────────────────────────────────────────────────────────────────
   MOBILE DONATION QUICK ACTIONS
   Easy access to donation on mobile
   ───────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .make-donation-cta {
        position: sticky;
        bottom: 80px;
        margin: 20px -15px -15px;
        padding: 20px;
        background: linear-gradient(135deg, rgba(64, 224, 208, 0.15), rgba(64, 224, 208, 0.05));
        border-radius: 0 0 16px 16px;
        border-top: 1px solid rgba(64, 224, 208, 0.3);
    }
    
    .make-donation-cta .btn {
        width: 100%;
        padding: 18px;
        font-size: 17px;
    }
    
    /* Donation amount buttons - larger on mobile */
    .recurring-btn {
        padding: 16px 24px;
        font-size: 16px;
        min-height: 56px;
    }
}

/* ─────────────────────────────────────────────────────────────────────
   MOBILE SETTINGS IMPROVEMENTS
   Touch-friendly settings controls
   ───────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .setting-item {
        padding: 18px 0;
    }
    
    .setting-label {
        font-size: 15px;
    }
    
    .setting-description {
        font-size: 13px;
        margin-top: 4px;
    }
    
    /* Larger toggle switches */
    .toggle-switch {
        width: 56px;
        height: 32px;
        flex-shrink: 0;
    }
    
    .toggle-slider::before {
        width: 26px;
        height: 26px;
    }
    
    /* Form inputs */
    .settings-form input,
    .settings-form textarea {
        font-size: 16px !important;
        padding: 14px;
    }
}

/* ─────────────────────────────────────────────────────────────────────
   MOBILE NOTIFICATIONS / TOASTS
   Non-intrusive mobile notifications
   ───────────────────────────────────────────────────────────────────── */

.mobile-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(10, 10, 46, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 14px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.mobile-toast.success {
    border-color: rgba(64, 224, 208, 0.5);
}

.mobile-toast.error {
    border-color: rgba(255, 68, 68, 0.5);
}

/* ─────────────────────────────────────────────────────────────────────
   iOS SAFE AREAS
   Proper spacing for notched iPhones
   ───────────────────────────────────────────────────────────────────── */

@supports (padding: env(safe-area-inset-bottom)) {
    .mobile-bottom-nav {
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
    }
    
    @media (max-width: 768px) {
        .dashboard-container {
            padding-bottom: calc(100px + env(safe-area-inset-bottom));
        }
    }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE PROFILE CARD
   Personalized profile display for mobile based on Supabase profiles table
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    /* Mobile Profile Header - Card Style */
    .dashboard-header {
        background: linear-gradient(135deg, rgba(64, 224, 208, 0.1), rgba(26, 26, 78, 0.8));
        border: 1px solid rgba(64, 224, 208, 0.2);
        padding: 24px 20px;
        margin: -15px -15px 20px;
        border-radius: 0 0 24px 24px;
    }
    
    .welcome-section {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .dashboard-avatar {
        width: 90px;
        height: 90px;
        border-width: 4px;
        box-shadow: 0 8px 30px rgba(64, 224, 208, 0.4);
    }
    
    .welcome-text h1 {
        font-size: 20px;
        white-space: normal;
        line-height: 1.3;
    }
    
    .member-since {
        font-size: 13px;
        opacity: 0.8;
    }
    
    /* Profile Bio Preview (from profiles.bio) */
    .profile-bio-preview {
        display: block;
        margin-top: 12px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.7);
        font-style: italic;
        text-align: center;
    }
    
    /* Donor Level Badge - Enhanced */
    .mobile-donor-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 10px;
        padding: 6px 14px;
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
        border: 1px solid rgba(255, 215, 0, 0.3);
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        color: var(--gold);
    }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE NOTIFICATIONS CENTER
   Based on Supabase notifications table (type, title, content, link)
   ═══════════════════════════════════════════════════════════════════ */

.mobile-notifications {
    display: none;
}

@media (max-width: 768px) {
    .mobile-notifications {
        display: flex;
        justify-content: flex-end;
        padding: 15px 20px 0;
        margin-top: env(safe-area-inset-top, 0);
    }
    
    .notification-bell {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        font-size: 20px;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .notification-bell:active {
        transform: scale(0.95);
        background: rgba(255, 255, 255, 0.2);
    }
    
    .notification-bell-badge {
        position: absolute;
        top: -2px;
        right: -2px;
        min-width: 20px;
        height: 20px;
        background: #ff4444;
        color: white;
        font-size: 11px;
        font-weight: 700;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 5px;
    }
    
    .notification-panel {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 46, 0.98);
        backdrop-filter: blur(20px);
        z-index: 1001;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding: 20px;
        padding-top: env(safe-area-inset-top, 20px);
    }
    
    .notification-panel.open {
        transform: translateY(0);
    }
    
    .notification-panel-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .notification-panel-header h2 {
        color: white;
        font-size: 20px;
        margin: 0;
    }
    
    .notification-close {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 20px;
        cursor: pointer;
    }
    
    .notification-item {
        display: flex;
        gap: 12px;
        padding: 16px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        margin-bottom: 10px;
        text-decoration: none;
        transition: all 0.2s ease;
    }
    
    .notification-item:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.1);
    }
    
    .notification-item.unread {
        border-color: rgba(64, 224, 208, 0.3);
        background: rgba(64, 224, 208, 0.05);
    }
    
    .notification-icon {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        font-size: 20px;
        flex-shrink: 0;
    }
    
    .notification-icon.donation { background: rgba(64, 224, 208, 0.2); }
    .notification-icon.message { background: rgba(100, 149, 237, 0.2); }
    .notification-icon.update { background: rgba(255, 215, 0, 0.2); }
    .notification-icon.system { background: rgba(255, 255, 255, 0.1); }
    
    .notification-content {
        flex: 1;
        min-width: 0;
    }
    
    .notification-title {
        color: white;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 4px;
    }
    
    .notification-text {
        color: rgba(255, 255, 255, 0.6);
        font-size: 13px;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .notification-time {
        color: rgba(255, 255, 255, 0.4);
        font-size: 11px;
        margin-top: 6px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE MESSAGE THREADS
   Based on Supabase messages table (sender_id, recipient_id, subject, content)
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .messages-container {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    /* Floating Compose Button */
    .mobile-compose-fab {
        position: fixed;
        bottom: 90px;
        right: 20px;
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, var(--turquoise), #5fd4d4);
        border: none;
        border-radius: 50%;
        color: var(--navy-blue);
        font-size: 28px;
        box-shadow: 0 4px 20px rgba(64, 224, 208, 0.4);
        cursor: pointer;
        z-index: 100;
        display: none;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }
    
    .mobile-compose-fab:active {
        transform: scale(0.9);
    }
    
    /* Show FAB only on messages tab */
    #messages.active .mobile-compose-fab {
        display: flex;
    }
    
    /* Message Thread List */
    .message-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .message-item {
        display: flex;
        flex-direction: column;
        padding: 16px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .message-item:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.08);
    }
    
    .message-item.unread {
        border-left: 4px solid var(--turquoise);
        background: rgba(64, 224, 208, 0.05);
    }
    
    .message-item.sent {
        border-left: 4px solid rgba(255, 255, 255, 0.3);
    }
    
    .message-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
    }
    
    .message-direction {
        font-size: 12px;
        font-weight: 600;
        color: var(--turquoise);
    }
    
    .message-item.sent .message-direction {
        color: rgba(255, 255, 255, 0.5);
    }
    
    .message-date {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.4);
    }
    
    .message-subject {
        font-size: 15px;
        font-weight: 600;
        color: white;
        margin-bottom: 6px;
    }
    
    .message-preview {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.6);
        line-clamp: 2;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* Full Screen Compose Modal */
    .compose-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 46, 0.98);
        backdrop-filter: blur(20px);
        z-index: 1002;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        padding: 20px;
        padding-top: env(safe-area-inset-top, 20px);
        padding-bottom: env(safe-area-inset-bottom, 20px);
    }
    
    .compose-modal.open {
        transform: translateY(0);
    }
    
    .compose-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .compose-modal-header h2 {
        color: white;
        font-size: 18px;
        margin: 0;
    }
    
    .compose-cancel {
        padding: 8px 16px;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        color: white;
        font-size: 14px;
        cursor: pointer;
    }
    
    .compose-send {
        padding: 8px 20px;
        background: var(--turquoise);
        border: none;
        border-radius: 20px;
        color: var(--navy-blue);
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE DONATION HISTORY
   Based on Supabase donations table (amount, phase, donor_name, is_anonymous)
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .donations-container {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    /* Donation Summary Cards - Horizontal Scroll */
    .donation-summary {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        margin: 0 -20px;
        padding: 0 20px 10px;
    }
    
    .summary-item {
        flex: 0 0 auto;
        min-width: 140px;
        scroll-snap-align: start;
        padding: 16px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        text-align: center;
    }
    
    .summary-value.large {
        font-size: 24px;
    }
    
    /* Donation Item Card */
    .donation-item {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        padding: 16px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        margin-bottom: 10px;
    }
    
    .donation-amount {
        font-size: 20px;
        font-weight: 700;
        color: var(--turquoise);
        flex: 1;
    }
    
    .donation-date {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.5);
    }
    
    .donation-phase {
        width: 100%;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.6);
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .donation-actions {
        width: 100%;
    }
    
    .receipt-btn {
        width: 100%;
        padding: 12px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        color: white;
        font-size: 14px;
        cursor: pointer;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE PRIVACY SETTINGS
   Based on Supabase profiles (privacy_level, message_privacy, show_donations)
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .settings-container {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    /* Privacy Quick Actions */
    .privacy-quick-toggle {
        display: flex;
        gap: 10px;
        margin-bottom: 16px;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    
    .privacy-chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 10px 16px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        font-size: 13px;
        color: white;
        white-space: nowrap;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .privacy-chip.active {
        background: rgba(64, 224, 208, 0.2);
        border-color: var(--turquoise);
        color: var(--turquoise);
    }
    
    .privacy-chip:active {
        transform: scale(0.95);
    }
    
    /* Settings Cards */
    .dashboard-card .card-body {
        padding: 16px;
    }
    
    .setting-item {
        padding: 16px 0;
    }
    
    .setting-label {
        font-size: 15px;
    }
    
    .setting-description {
        font-size: 12px;
        margin-top: 4px;
        line-height: 1.4;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE CONNECTIONS (Future Feature)
   Based on Supabase connections table (requester_id, recipient_id, status)
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .connections-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .connection-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 14px;
    }
    
    .connection-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border: 2px solid var(--turquoise);
    }
    
    .connection-info {
        flex: 1;
        min-width: 0;
    }
    
    .connection-name {
        font-size: 15px;
        font-weight: 600;
        color: white;
    }
    
    .connection-status {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.5);
    }
    
    .connection-status.pending {
        color: var(--gold);
    }
    
    .connection-status.connected {
        color: var(--turquoise);
    }
    
    .connection-action {
        padding: 8px 16px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        color: white;
        font-size: 13px;
        cursor: pointer;
    }
}
