/* ════════════════════════════════════════════════════════════════
   الاشتراكات — compact subscription rows (much slimmer than .bank-row).
   Tap to expand → reveals quick actions inline.
   ════════════════════════════════════════════════════════════════ */

.sub-due {
    font-size: 0.6rem;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--c-surface-2);
    color: var(--text-strong);
    white-space: nowrap;
    line-height: 1.5;
}

/* ============================================= */
@media (max-width: 768px) {
    /* Hide bottom-actions (tools + signout moved to profile) */
    #mobile-drawer .bottom-actions {
        display: none !important;
    }
}

/* Profile avatar with edit-camera badge */
.profile-avatar-edit {
    position: relative;
    cursor: pointer;
}
.profile-avatar-cam {
    position: absolute;
    bottom: 2px;
    inset-inline-end: 2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--c-surface);
    color: var(--c-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    border: 2px solid var(--c-primary);
}
.profile-photo-remove {
    margin-top: 12px;
    background: rgba(0,0,0,0.18);
    border: none;
    color: var(--c-on-primary);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-ui);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.profile-photo-remove:active { transform: scale(0.95); }

.profile-section-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 4px 8px;
}

.profile-row-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--font-ui);
    text-align: start;
    width: 100%;
    margin-bottom: 6px;
    transition: transform var(--mo-fast) var(--ease-out), background-color var(--mo-fast) var(--ease-out);
}
.profile-row-btn:active { transform: scale(0.98); background: var(--c-bg); }
.profile-row-btn:last-child { margin-bottom: 0; }
.profile-row-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    flex-shrink: 0;
}
.profile-row-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.profile-row-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
}
.profile-row-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.profile-signout-btn {
    width: 100%;
    margin-top: 18px;
    padding: 14px;
    background: var(--c-danger-soft);
    border: 1px solid var(--c-danger-line);
    border-radius: 12px;
    color: var(--danger-text);
    font-weight: 800;
    font-size: 0.95rem;
    font-family: var(--font-ui);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.profile-signout-btn:active { transform: scale(0.98); }

