/* My Account Page Styles - Dashboard Layout */

.account-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* Login Section */
.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.login-section[style*="display: none"] {
    display: none !important;
}

.login-box {
    max-width: 450px;
    width: 100%;
    text-align: center;
    background: white;
    border-radius: 12px;
    padding: 48px 40px;
    box-shadow: var(--shadow);
}

.login-box h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.login-subtitle {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 16px;
    font-weight: 400;
}

.login-box .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.login-box .form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.login-box .form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    box-sizing: border-box;
    background: var(--background);
}

.login-box .form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.login-box .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.login-box .form-group input:disabled {
    background: var(--background-alt);
    cursor: not-allowed;
    opacity: 0.6;
}

.login-divider {
    text-align: center;
    margin: 1rem 0;
    color: var(--text-light, #999);
    font-size: 13px;
}

.google-signin-container {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.login-hint {
    font-size: 13px;
    color: var(--text-light, #999);
    text-align: center;
    margin: 0.5rem 0;
}

.signup-link.secondary {
    margin-top: 0.5rem;
    font-size: 13px;
}

/* Error Message Styling */
.error-message {
    background: rgba(196, 30, 58, 0.1);
    border: 2px solid var(--error-color);
    border-radius: var(--border-radius);
    padding: 12px 16px;
    margin: 16px 0;
    color: var(--error-color);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideIn 0.3s ease;
}

.error-message::before {
    content: '⚠️';
    font-size: 18px;
    flex-shrink: 0;
}

/* Button Spinner */
.btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

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

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

/* Loading State */
.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

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

.signup-link a:hover {
    text-decoration: underline;
}

/* Social Sign In */
.social-signin {
    margin-bottom: 24px;
}

.btn-social {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: white;
    color: var(--text-primary);
}

.btn-social:hover {
    border-color: var(--primary-color);
    background: rgba(45, 80, 22, 0.05);
}

.btn-social svg {
    flex-shrink: 0;
}

.divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.divider span {
    background: white;
    padding: 0 16px;
    color: var(--text-secondary);
    font-size: 14px;
    position: relative;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
}

.dashboard-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dashboard-subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.school-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--background-alt);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.school-badge img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

.school-badge span {
    font-weight: 500;
}

.dashboard-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.dashboard-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.membership-status-badge {
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.membership-status-badge.expired {
    background: var(--error-color);
    color: white;
}

.membership-status-badge.pending {
    background: #ffc107;
    color: #000;
}

.membership-status-badge.pending_approval {
    background: #ffc107;
    color: #000;
}

/* Payment Alert */
.payment-alert {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 32px;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.alert-content strong {
    font-size: 18px;
    color: #856404;
}

.alert-content p {
    flex: 1;
    margin: 0;
    color: #856404;
    min-width: 200px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
}

/* Account Dashboard */
.account-dashboard {
    position: relative;
    z-index: 1;
}

.account-dashboard[style*="display: none"] {
    display: none !important;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 0;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.dashboard-card h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
}

.profile-name-card {
    grid-column: 1 / -1;
}

.profile-name-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 16px 0;
    width: 100%;
    max-width: 560px;
}

.profile-name-field {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.profile-name-fields label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.profile-name-input {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    background: white;
    color: var(--text-primary);
}

.profile-name-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.profile-name-actions {
    margin-top: 4px;
}

@media (min-width: 640px) and (max-width: 968px) {
    .profile-name-fields {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

/* QR Code Card */
.qr-card {
    grid-column: span 1;
}

.qr-container-large {
    background: white;
    padding: 32px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    min-height: 280px;
}

.qr-container-large canvas,
.qr-container-large img {
    max-width: 100%;
    height: auto;
}

.qr-note {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 12px;
    text-align: center;
}

.qr-member-caption {
    margin: 12px auto 4px;
    max-width: 320px;
    text-align: left;
    font-size: 14px;
    color: var(--text-primary);
}

.qr-caption-row {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
    line-height: 1.4;
}

.qr-caption-label {
    flex: 0 0 auto;
    font-weight: 600;
    color: var(--text-secondary);
}

.qr-caption-value {
    word-break: break-word;
}

.qr-payment-note {
    text-align: center;
    padding: 12px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 6px;
    margin-top: 16px;
    font-size: 14px;
    color: #dc3545;
}

.qr-status-message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    text-align: center;
    font-size: 14px;
}

.qr-status-message.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.qr-status-message.warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.qr-status-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Events Card */
.events-list {
    min-height: 150px;
}

.event-item {
    padding: 16px;
    background: var(--background-alt);
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 4px solid var(--primary-color);
}

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

.event-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.event-date {
    font-size: 14px;
    color: var(--text-secondary);
}

.no-data {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 20px;
    font-size: 14px;
}

/* Events & Classes Tabs */
.events-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

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

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

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

.class-item {
    border-left-color: #6c757d;
}

.event-time,
.event-location {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Payment Info (Compact in Membership Details) */
.payment-info-compact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.payment-label-small {
    color: var(--text-secondary);
    font-size: 13px;
}

.payment-value-small {
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 8px;
}

.payment-date-small {
    color: var(--text-secondary);
    font-size: 12px;
    margin-left: auto;
}

/* Schools Card */
.schools-selector {
    margin-bottom: 20px;
}

.schools-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.school-selection-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.selected-school-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}

.selected-school-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    background: white;
}

/* Club Details Display - Dark Navy Theme */
.club-details-display {
    margin-top: 20px;
}

.club-preview {
    background: #1a2332;
    border-radius: 10px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.club-preview-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.club-logo-preview {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 80px;
    min-height: 80px;
}

.club-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    display: block;
}

.club-logo-preview::after {
    content: '🏛️';
    font-size: 32px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.club-logo-preview.logo-fallback::after {
    display: flex;
}

.club-logo-preview {
    position: relative;
}

.club-preview-title {
    flex: 1;
}

.club-name {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.club-location {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.club-description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 16px 0;
}

.club-weapons-preview {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.club-weapons-preview .weapons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.weapon-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.school-select {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    background: white;
    color: var(--text-primary);
}

.school-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.school-save-notification {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--success-background);
    color: var(--success-color);
    border: 1px solid var(--success-color);
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

.school-save-notification.hide {
    animation: slideOut 0.3s ease-out forwards;
}

.notification-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--success-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

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

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

.schools-note {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.45;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.clubs-fieldset {
    border: none;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.clubs-selector-block {
    margin-top: 8px;
}

/* Club picker: tile toggles (not plain checkboxes) */
.clubs-checkbox-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-height: 320px;
    overflow-y: auto;
    margin: 12px 0;
    padding: 6px 4px 8px 0;
}

@media (min-width: 520px) {
    .clubs-checkbox-container {
        grid-template-columns: 1fr 1fr;
    }
}

.club-pick-tile {
    display: block;
    cursor: pointer;
    margin: 0;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background: var(--background-alt, #f5f5f5);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.club-pick-tile:hover {
    border-color: rgba(45, 80, 22, 0.45);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.club-pick-tile:focus-within {
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.25);
}

.club-pick-tile--selected {
    border-color: var(--primary-color);
    background: rgba(45, 80, 22, 0.07);
    box-shadow: 0 0 0 1px var(--primary-color);
}

.club-pick-tile-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    min-height: 52px;
}

.club-pick-tile-mark {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    border: 2px solid var(--border-color);
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: transparent;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.club-pick-tile--selected .club-pick-tile-mark {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-size: 13px;
    line-height: 1;
}

.club-pick-tile--selected .club-pick-tile-mark::before {
    content: '\2713';
    line-height: 1;
}

.club-pick-tile-body {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.club-pick-tile-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 4px;
    flex-shrink: 0;
}

.club-pick-tile-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
}

.clubs-save-row {
    margin-top: 4px;
}

.club-details-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

/* Stacked club info tiles: same dark navy as .club-preview (readable light text) */
.club-preview.club-preview-stacked {
    background: #1a2332;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.club-preview-stacked .club-preview-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.club-preview-stacked .club-name {
    color: #ffffff;
}

.club-preview-stacked .club-location {
    color: rgba(255, 255, 255, 0.75);
}

.club-preview-stacked .club-description {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0;
}

.club-logo-thumb img {
    max-width: 56px;
    max-height: 56px;
    object-fit: contain;
    border-radius: 6px;
}

.club-preview-stacked .subtle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.5;
}

/* Onboarding Card */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--background-alt);
    border-radius: 8px;
    position: relative;
}

.checklist-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.checklist-item input[type="checkbox"]:checked {
    accent-color: var(--success-color);
}

.checklist-item label {
    flex: 1;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checklist-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

.checklist-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.checklist-item.completed {
    background: rgba(40, 167, 69, 0.1);
    border-left: 4px solid var(--success-color);
}

.checklist-item.completed .checklist-title {
    text-decoration: line-through;
    color: var(--text-secondary);
}

#insurance-docusign-link {
    margin-top: 8px;
    width: 100%;
}

/* Membership Details Card */
.membership-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
}

/* Responsive */
@media (min-width: 969px) {
    .account-container {
        padding: 48px 40px 64px;
    }

    /* Desktop: balanced 2×2 — QR | Events / Name | Clubs */
    .dashboard-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 28px 32px;
        align-items: start;
    }

    .qr-card {
        grid-column: 1;
        grid-row: 1;
    }

    .events-card {
        grid-column: 2;
        grid-row: 1;
        min-height: 100%;
    }

    .profile-name-card {
        grid-column: 1;
        grid-row: 2;
        padding: 24px 28px;
    }

    .schools-card {
        grid-column: 2;
        grid-row: 2;
    }

    .profile-name-card h2 {
        margin-bottom: 8px;
        font-size: 18px;
    }

    .profile-name-card .schools-note {
        margin-bottom: 4px;
        max-width: 36rem;
    }

    .profile-name-fields {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        max-width: none;
        margin: 14px 0 12px;
        gap: 14px 16px;
    }

    .profile-name-actions {
        margin-top: 0;
    }

    .qr-container-large {
        min-height: 300px;
    }

    .qr-member-caption {
        max-width: 100%;
    }

    .dashboard-header h1 {
        font-size: 40px;
    }
}

@media (max-width: 968px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .profile-name-card,
    .qr-card,
    .events-card,
    .schools-card {
        grid-column: auto;
        grid-row: auto;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .payment-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .account-container {
        padding: 24px 16px;
    }

    .login-box {
        padding: 32px 24px;
    }

    .dashboard-card {
        padding: 24px;
    }

    .qr-container-large {
        padding: 24px;
        min-height: 240px;
    }
}
