.almas-manage-container { display: flex; justify-content: center; align-items: center; min-height: 320px; padding: 24px 0 48px; }
.almas-manage-card, .almas-status-card {
    background: var(--almas-glass-surface); backdrop-filter: blur(var(--almas-glass-blur)); -webkit-backdrop-filter: blur(var(--almas-glass-blur)); border: 1px solid var(--almas-glass-border);
    border-radius: var(--almas-radius-element, 24px); padding: 26px 22px; width: 100%; max-width: 420px; text-align: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08); font-family: inherit;
    will-change: transform, opacity;
}
.almas-status-icon { font-size: 38px; margin-bottom: 12px; }
.almas-manage-card h3 { margin: 0 0 10px; color: #1e293b; font-size: 17px; }
.almas-manage-card p, .almas-status-card p { color: #64748b; margin-bottom: 14px; line-height: 1.7; font-size: 13px; }
.almas-action-btn-m, .almas-back-btn, .almas-login-btn {
    background: #4f46e5; color: #fff; border: none; padding: 10px 18px; border-radius: var(--almas-radius-button, 12px);
    font-family: inherit; font-weight: bold; font-size: 13px; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s; width: 100%; display: inline-block; text-decoration: none; box-sizing: border-box;
    position: relative;
}
@media (hover: hover){
.almas-action-btn-m:hover, .almas-back-btn:hover, .almas-login-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3); }
}
.almas-action-btn-m.resub { background: #10b981; }
@media (hover: hover){
.almas-action-btn-m.resub:hover { box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3); }
}
.almas-action-btn-m.unsub { background: #ef4444; }
@media (hover: hover){
.almas-action-btn-m.unsub:hover { box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3); }
}
.almas-action-btn-m.almas-loading { color: transparent !important; pointer-events: none; }
.almas-action-btn-m.almas-loading::after {
    content: ""; position: absolute; top: 50%; left: 50%; width: 15px; height: 15px; margin: -8px 0 0 -8px;
    border: 2px solid #fff; border-top-color: transparent; border-radius: 50%;
    animation: almasManageSpin 0.7s linear infinite;
}
@keyframes almasManageSpin { to { transform: rotate(360deg); } }
#almas-manage-result { margin-top: 20px; font-size: 14px; font-weight: bold; }

.almas-profile-info { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.5); padding: 10px 12px; border-radius: var(--almas-radius-element, 12px); margin-bottom: 14px; text-align: right; }
.almas-avatar img { border-radius: 50%; width: 44px; height: 44px; }
.almas-details { display: flex; flex-direction: column; }
.almas-details strong { color: #1e293b; font-size: 13px; }
.almas-details small { color: #64748b; font-size: 11px; }
.almas-lock-icon { font-size: 34px; margin-bottom: 10px; }

body.dark-mode .almas-manage-card,
body.dark-mode .almas-status-card {
    background: var(--almas-glass-surface);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .almas-manage-card h3 {
    color: #f3f4f6;
}

body.dark-mode .almas-manage-card p,
body.dark-mode .almas-status-card p {
    color: #9ca3af;
}

body.dark-mode .almas-profile-info {
    background: var(--almas-glass-surface);
}

body.dark-mode .almas-details strong {
    color: #f3f4f6;
}

body.dark-mode .almas-details small {
    color: #9ca3af;
}

@media (max-width: 1024px) {
    .almas-manage-card, .almas-status-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.96) !important;
    }
    body.dark-mode .almas-manage-card,
    body.dark-mode .almas-status-card {
        background: rgba(30, 41, 59, 0.96) !important;
    }
}

@media (max-width: 480px) {
    .almas-manage-container { padding: 14px; min-height: 220px; }
    .almas-manage-card, .almas-status-card { padding: 20px 16px; border-radius: 18px; }
    .almas-manage-card h3 { font-size: 15px; }
    .almas-manage-card p, .almas-status-card p { font-size: 12px; margin-bottom: 12px; }
    .almas-profile-info { padding: 8px 10px; gap: 8px; }
    .almas-avatar img { width: 38px; height: 38px; }
}
