/* ==========================================================================
   Droppy Premium — Cloudly account tab styles (rewritten 2026-11-16).
   The account tab lives inside the theme's slide-over (.tab-window).
   Uses the Cloudly tokens: blue #2563EB, ink #0F172A, muted #64748B,
   line #E2E8F0. Bulma classes (.field/.input/.button) come from the theme.
   ========================================================================== */

/* The tab's own top margins are gone: the new design has its own spacing. */
#loginDiv {
    margin-top: 0;
}
#forgotDiv {
    margin-top: 0;
    display: none;
}
#table_value {
    padding-left: 20px;
}
.tab#tab-account .tabs {
    font-size: 17px !important;
}
.tab#tab-account .account-tab {
    display: none;
}
.tab#tab-account .account-tab.active {
    display: block;
}

/* --- Cloudly premium tab --- */
.cl-premium {
    max-width: 460px;
    margin: 0 auto;
}
.cl-premium-head {
    text-align: center;
    margin-bottom: 28px;
}
.cl-premium-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #EFF6FF;
    color: #2563EB;
    font-size: 28px;
    margin-bottom: 16px;
}
.cl-premium-head h2 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0F172A;
    margin: 0 0 8px;
}
.cl-premium-sub {
    color: #64748B;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}
.cl-premium .field {
    margin-bottom: 16px;
}
.cl-premium .label {
    color: #0F172A;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
}
.cl-premium .input {
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    height: 48px;
    font-size: 15px;
    color: #0F172A;
    box-shadow: none;
}
.cl-premium .input:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}
.cl-premium .input::placeholder {
    color: #94A3B8;
}
.cl-premium-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}
.cl-premium-link {
    color: #2563EB;
    font-size: 14px;
    font-weight: 600;
}
.cl-premium-link:hover {
    color: #1D4ED8;
    text-decoration: underline;
}
.cl-premium-btn {
    width: 100%;
    height: 50px;
    background: #2563EB;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 12px;
}
.cl-premium-btn:hover {
    background: #1D4ED8;
    color: #fff;
}

/* Logged-in account view */
.cl-premium-h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0F172A;
    margin: 28px 0 12px;
}
.cl-premium-rows {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 6px 18px;
    margin-bottom: 8px;
}
.cl-premium-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #E2E8F0;
    font-size: 15px;
}
.cl-premium-row:last-child {
    border-bottom: none;
}
.cl-premium-row span {
    color: #64748B;
}
.cl-premium-row strong {
    color: #0F172A;
    font-weight: 700;
    text-align: right;
}
.cl-premium-status-active {
    color: #15803D !important;
}
.cl-premium-status-suspended {
    color: #B45309 !important;
}
.cl-premium-status-canceled_end {
    color: #64748B !important;
}
.cl-premium-note {
    color: #64748B;
    font-size: 13px;
    line-height: 1.6;
    margin: 12px 0 0;
}

/* Alert boxes (Bootstrap .alert classes are not loaded by the theme,
   so they get Cloudly styling here). */
.cl-premium .alert,
#errors .alert {
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}
.cl-premium .alert-warning,
#errors .alert-warning {
    background: #FFFBEB;
    border-color: #FDE68A;
    color: #92400E;
}
.cl-premium .alert-success,
#errors .alert-success {
    background: #F0FDF4;
    border-color: #BBF7D0;
    color: #166534;
}
.cl-premium .alert-info,
#errors .alert-info {
    background: #EFF6FF;
    border-color: #BFDBFE;
    color: #1E40AF;
}
