/* =========================================================
   DASHBOARD PAGE — ADTHRIVE MEDIA
   ========================================================= */


/*=====================================
        ACCOUNT APPROVAL
    =====================================*/

body.approval-gate-active {
    overflow: hidden !important;
}

/* FULL SCREEN LOCK */

.approval-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    padding: 24px;

    overflow-y: auto;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(124, 185, 71, 0.13),
            transparent 35%
        ),
        rgba(12, 22, 16, 0.72);

    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
}

/* MAIN MODAL */

.approval-gate-modal {
    position: relative;

    width: 100%;
    max-width: 570px;

    padding: 38px;

    background: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.25),
        0 5px 20px rgba(0, 0, 0, 0.05);

    text-align: center;

    animation: approvalGateEnter 0.45s ease both;
}

@keyframes approvalGateEnter {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* SECURITY ICON */

.approval-gate-icon {
    width: 76px;
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 21px;

    border: 1px solid #dcebd2;
    border-radius: 22px;

    background: linear-gradient(
        145deg,
        #f4faef,
        #e9f4df
    );

    color: #659e38;

    box-shadow:
        0 8px 22px rgba(124, 185, 71, 0.12);
}

/* STATUS */

.approval-gate-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 14px;
    padding: 7px 13px;

    border: 1px solid #f1dfb5;
    border-radius: 30px;

    background: #fff9ed;
    color: #946b1e;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

/* HEADING */

.approval-gate-modal h1 {
    margin: 0 0 12px;

    color: #17231a;

    font-size: clamp(23px, 4vw, 29px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.7px;
}

.approval-gate-description {
    max-width: 430px;

    margin: 0 auto 23px;

    color: #68746a;

    font-size: 13px;
    line-height: 1.9;
}

/* INFORMATION */

.approval-gate-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-bottom: 26px;
    padding: 15px;

    border: 1px solid #e5eddc;
    border-radius: 11px;

    background: #f7faf4;

    text-align: left;
}

.approval-gate-info > span {
    flex-shrink: 0;

    width: 21px;
    height: 21px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e5f0dc;
    color: #5b8d35;

    font-size: 12px;
    font-weight: 800;
}

.approval-gate-info p {
    margin: 0;

    color: #596659;

    font-size: 11px;
    line-height: 1.8;
}

/* ACTION CARDS */

.approval-gate-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;

    text-align: left;
}

.approval-gate-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    min-height: 190px;

    padding: 19px;

    border: 1px solid #e6eae4;
    border-radius: 13px;

    background: #ffffff;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.approval-gate-option:hover {
    border-color: #c7dbb9;

    box-shadow:
        0 8px 22px rgba(30, 55, 30, 0.07);

    transform: translateY(-2px);
}

.approval-gate-option h3 {
    margin: 0 0 8px;

    color: #1e2c20;

    font-size: 14px;
    font-weight: 800;
}

.approval-gate-option p {
    margin: 0 0 18px;

    color: #748074;

    font-size: 11px;
    line-height: 1.8;
}

/* BUTTONS */

.approval-gate-button {
    width: 100%;
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: auto;
    padding: 10px 12px;

    border: 1px solid transparent;
    border-radius: 8px;

    font-family: inherit;
    font-size: 11px;
    font-weight: 800;

    text-align: center;
    text-decoration: none;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.approval-gate-button-primary {
    background: #79ad45;
    color: #ffffff;
}

.approval-gate-button-primary:hover {
    background: #639536;
    color: #ffffff;
    transform: translateY(-1px);
}

.approval-gate-button-secondary {
    background: #ffffff;
    border-color: #cbdcc0;
    color: #598b32;
}

.approval-gate-button-secondary:hover:not(:disabled) {
    background: #f2f8ed;
    border-color: #a9c995;
}

.approval-gate-button:disabled,
.approval-gate-button.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

/* FEEDBACK */

.approval-gate-message {
    min-height: 20px;

    margin: 16px 0 0;

    color: #68746a;

    font-size: 11px;
    line-height: 1.8;
}

.approval-gate-message.success {
    padding: 11px;

    border: 1px solid #cce8d2;
    border-radius: 8px;

    background: #f0faf2;
    color: #267344;
}

.approval-gate-message.error {
    padding: 11px;

    border: 1px solid #f0cece;
    border-radius: 8px;

    background: #fff4f4;
    color: #b42318;
}

/* FOOTER */

.approval-gate-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 24px;
    padding-top: 17px;

    border-top: 1px solid #edf0eb;

    color: #899389;

    font-size: 10px;
    font-weight: 600;
}

.approval-gate-footer-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #d7a43c;
    box-shadow: 0 0 0 4px #fff6e5;
}

/* RESPONSIVE */

@media (max-width: 600px) {
    .approval-gate-overlay {
        padding: 14px;
    }

    .approval-gate-modal {
        padding: 27px 19px;
        border-radius: 17px;
    }

    .approval-gate-icon {
        width: 65px;
        height: 65px;
        border-radius: 18px;
    }

    .approval-gate-options {
        grid-template-columns: 1fr;
    }

    .approval-gate-option {
        min-height: 150px;
        padding: 17px;
    }

    .approval-gate-modal h1 {
        font-size: 23px;
    }

    .approval-gate-footer {
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .approval-gate-modal {
        animation: none;
    }

    .approval-gate-option,
    .approval-gate-button {
        transition: none;
    }
}


/*=====================================
        ACCOUNT APPROVAL END
    =====================================*/







* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dashboard-primary: #7CB947;
    --dashboard-primary-hover: #659e38;
    --dashboard-text: #111827;
    --dashboard-muted: #6b7280;
    --dashboard-border: #e5e7eb;
    --dashboard-background: #f7f8fa;
    --dashboard-white: #ffffff;
    --dashboard-success: #16854f;
    --dashboard-danger: #b42318;
}

body {
    min-height: 100vh;
    background: var(--dashboard-background);
    color: var(--dashboard-text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

/* Main Layout */

.dashboard-main {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 35px;
}

/* Dashboard Heading */

.dashboard-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.dashboard-heading h1 {
    margin-bottom: 6px;
    color: var(--dashboard-text);
    font-size: 30px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.6px;
}

.dashboard-heading p {
    color: var(--dashboard-muted);
    font-size: 14px;
}

/* Buttons */

.btn {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.btn-primary {
    background: var(--dashboard-primary);
    border-color: var(--dashboard-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--dashboard-primary-hover);
    border-color: var(--dashboard-primary-hover);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Dashboard Message */

.form-message {
    margin-bottom: 22px;
    padding: 12px 15px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.form-message[hidden] {
    display: none;
}

.form-message.success {
    background: #eaf7ee;
    border-color: #ccebd8;
    color: var(--dashboard-success);
}

.form-message.error {
    background: #fff1f2;
    border-color: #fecaca;
    color: var(--dashboard-danger);
}

/* Statistics Grid */

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.dashboard-stat-card {
    min-width: 0;
    padding: 24px;
    background: var(--dashboard-white);
    border: 1px solid var(--dashboard-border);
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.025);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.dashboard-stat-card:hover {
    transform: translateY(-3px);
    border-color: #d5dfcc;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.055);
}

.dashboard-stat-card h2 {
    margin-bottom: 15px;
    color: var(--dashboard-muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.dashboard-stat-card p {
    margin-bottom: 8px;
    color: var(--dashboard-text);
    font-size: 32px;
    font-weight: 750;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.dashboard-stat-card span {
    display: block;
    color: var(--dashboard-muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

/* Dashboard Panel Grid */

.dashboard-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.dashboard-panel {
    min-width: 0;
    padding: 25px;
    background: var(--dashboard-white);
    border: 1px solid var(--dashboard-border);
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.025);
}

/* Panel Heading */

.dashboard-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 23px;
    padding-bottom: 17px;
    border-bottom: 1px solid #eef0f2;
}

.dashboard-panel-heading h2 {
    color: var(--dashboard-text);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.4;
}

.dashboard-panel-heading a {
    flex-shrink: 0;
    color: var(--dashboard-primary-hover);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dashboard-panel-heading a:hover {
    color: var(--dashboard-text);
    text-decoration: underline;
}

/* Automation Overview */

.dashboard-overview-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f1f3;
}

.dashboard-overview-row span {
    color: var(--dashboard-muted);
    font-size: 13px;
}

.dashboard-overview-row strong {
    color: var(--dashboard-text);
    font-size: 15px;
    font-weight: 750;
}

/* Dashboard Lists */

.dashboard-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.dashboard-list > p {
    padding: 18px 0;
    color: var(--dashboard-muted);
    font-size: 13px;
    text-align: center;
    overflow-wrap: anywhere;
}

/* Common list item support for JS-rendered content */

.dashboard-list > div,
.dashboard-list > article,
.dashboard-list > li {
    min-width: 0;
    padding: 15px 0;
    border-bottom: 1px solid #f0f1f3;
}

.dashboard-list > div:last-child,
.dashboard-list > article:last-child,
.dashboard-list > li:last-child {
    border-bottom: none;
}

.dashboard-list strong {
    color: var(--dashboard-text);
    font-size: 13px;
    font-weight: 700;
}

.dashboard-list small {
    display: block;
    margin-top: 4px;
    color: var(--dashboard-muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

/* Recent Messages Table */

.dashboard-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #eef0f2;
    border-radius: 8px;
    scrollbar-width: thin;
}

.dashboard-table {
    width: 100%;
    min-width: 450px;
    border-collapse: collapse;
    text-align: left;
}

.dashboard-table thead {
    background: #f8faf7;
}

.dashboard-table th {
    padding: 13px 14px;
    color: #4b5563;
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
    border-bottom: 1px solid var(--dashboard-border);
}

.dashboard-table td {
    padding: 14px;
    color: #4b5563;
    font-size: 12px;
    border-bottom: 1px solid #eef0f2;
    overflow-wrap: anywhere;
}

.dashboard-table tbody tr:last-child td {
    border-bottom: none;
}

.dashboard-table tbody tr {
    transition: background 0.2s ease;
}

.dashboard-table tbody tr:hover {
    background: #fafcf8;
}

.dashboard-table tbody td[colspan] {
    padding: 25px 14px;
    color: var(--dashboard-muted);
    text-align: center;
}

/* Status Labels */

.status,
.badge,
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 4px 9px;
    border-radius: 20px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.status.success,
.badge.success,
.status-badge.success,
.status.active,
.badge.active,
.status-badge.active {
    background: #eaf7ee;
    color: #16854f;
}

.status.error,
.badge.error,
.status-badge.error,
.status.failed,
.badge.failed,
.status-badge.failed {
    background: #fff1f2;
    color: #b42318;
}

.status.pending,
.badge.pending,
.status-badge.pending,
.status.paused,
.badge.paused,
.status-badge.paused {
    background: #fff7e6;
    color: #9a6700;
}

/* Notifications */

.dashboard-notification-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 8px;
    padding: 15px;
    background: #f8faf7;
    border: 1px solid #edf2e8;
    border-radius: 8px;
}

.dashboard-notification-summary span {
    color: var(--dashboard-muted);
    font-size: 13px;
}

.dashboard-notification-summary strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    min-height: 30px;
    padding: 4px 8px;
    border-radius: 8px;
    background: #eaf4e1;
    color: #4f812d;
    font-size: 14px;
    font-weight: 750;
}

/* Subscription Panel */

.dashboard-subscription-panel {
    margin-bottom: 30px;
}

#subscriptionDetails {
    min-width: 0;
}

#subscriptionDetails > p {
    color: var(--dashboard-muted);
    font-size: 13px;
}

#subscriptionDetails > div,
#subscriptionDetails > article {
    min-width: 0;
    padding: 12px 0;
    border-bottom: 1px solid #f0f1f3;
}

#subscriptionDetails > div:last-child,
#subscriptionDetails > article:last-child {
    border-bottom: none;
}

#subscriptionDetails strong {
    color: var(--dashboard-text);
    font-weight: 700;
}

#subscriptionDetails a {
    color: var(--dashboard-primary-hover);
    font-weight: 700;
    text-decoration: none;
}

#subscriptionDetails a:hover {
    text-decoration: underline;
}

/* Links and Buttons inside dashboard content */

.dashboard-main a:focus-visible,
.dashboard-main button:focus-visible {
    outline: 3px solid rgba(124, 185, 71, 0.35);
    outline-offset: 3px;
}

/* Tablet */

@media (max-width: 1100px) {
    .dashboard-main {
        padding: 28px;
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-panels {
        gap: 20px;
    }

    .dashboard-stat-card {
        padding: 22px;
    }

    .dashboard-panel {
        padding: 22px;
    }
}

/* Mobile Landscape and Small Tablets */

@media (max-width: 768px) {
    .dashboard-main {
        padding: 24px 20px;
    }

    .dashboard-heading {
        align-items: flex-start;
        gap: 15px;
    }

    .dashboard-heading h1 {
        font-size: 26px;
    }

    .dashboard-panels {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .dashboard-panel {
        padding: 22px;
    }

    .dashboard-stat-card p {
        font-size: 29px;
    }
}

/* Mobile Phones */

@media (max-width: 480px) {
    .dashboard-main {
        padding: 20px 14px;
    }

    .dashboard-heading {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-bottom: 22px;
    }

    .dashboard-heading h1 {
        font-size: 24px;
    }

    .dashboard-heading p {
        font-size: 13px;
    }

    .dashboard-heading .btn {
        width: 100%;
    }

    .dashboard-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }

    .dashboard-stat-card {
        padding: 16px 14px;
        border-radius: 10px;
    }

    .dashboard-stat-card h2 {
        margin-bottom: 12px;
        font-size: 12px;
    }

    .dashboard-stat-card p {
        margin-bottom: 7px;
        font-size: 25px;
    }

    .dashboard-stat-card span {
        font-size: 11px;
    }

    .dashboard-panel {
        padding: 17px 15px;
        border-radius: 10px;
    }

    .dashboard-panel-heading {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 17px;
        padding-bottom: 14px;
    }

    .dashboard-panel-heading h2 {
        font-size: 14px;
    }

    .dashboard-panel-heading a {
        font-size: 11px;
        text-align: right;
    }

    .dashboard-overview-row {
        padding: 11px 0;
    }

    .dashboard-overview-row span {
        font-size: 12px;
    }

    .dashboard-overview-row strong {
        font-size: 14px;
    }

    .dashboard-notification-summary {
        padding: 12px;
    }

    .dashboard-notification-summary span {
        font-size: 12px;
    }

    .dashboard-subscription-panel {
        margin-bottom: 20px;
    }

    .btn {
        min-height: 42px;
        font-size: 12px;
    }
}

/* Extra Small Phones */

@media (max-width: 350px) {
    .dashboard-main {
        padding: 16px 10px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dashboard-stat-card {
        padding: 17px;
    }

    .dashboard-stat-card p {
        font-size: 27px;
    }

    .dashboard-panel {
        padding: 15px 12px;
    }

    .dashboard-panel-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-panel-heading a {
        text-align: left;
    }
}








/* =========================================================
   MY PROFILE PAGE — ADTHRIVE MEDIA
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --profile-primary: #7CB947;
    --profile-primary-hover: #659e38;
    --profile-text: #111827;
    --profile-muted: #6b7280;
    --profile-border: #e5e7eb;
    --profile-background: #f7f8fa;
    --profile-white: #ffffff;
}

body {
    min-height: 100vh;
    background: var(--profile-background);
    color: var(--profile-text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

/* Main Layout */

.profile-main {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 35px;
}

/* Page Heading */

.profile-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.profile-heading h1 {
    margin-bottom: 6px;
    color: var(--profile-text);
    font-size: 30px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.profile-heading p {
    color: var(--profile-muted);
    font-size: 14px;
}

/* Buttons */

.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid var(--profile-border);
    border-radius: 8px;
    background: var(--profile-white);
    color: #374151;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.btn:hover {
    background: #f9fafb;
    border-color: #cbd5e1;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--profile-primary);
    border-color: var(--profile-primary);
    color: var(--profile-white);
}

.btn-primary:hover {
    background: var(--profile-primary-hover);
    border-color: var(--profile-primary-hover);
    color: var(--profile-white);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Messages */

.form-message {
    margin-bottom: 22px;
    padding: 12px 15px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.form-message[hidden] {
    display: none;
}

.form-message.success {
    background: #eaf7ee;
    border-color: #ccebd8;
    color: #16854f;
}

.form-message.error {
    background: #fff1f2;
    border-color: #fecaca;
    color: #b42318;
}

/* Profile Cards */

.profile-card {
    width: 100%;
    margin-bottom: 24px;
    padding: 28px;
    background: var(--profile-white);
    border: 1px solid var(--profile-border);
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.025);
}

.profile-card > h2 {
    margin-bottom: 20px;
    color: var(--profile-text);
    font-size: 17px;
    font-weight: 750;
}

/* Card Heading */

.profile-card-heading {
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef0f2;
}

.profile-card-heading h2 {
    margin-bottom: 5px;
    color: var(--profile-text);
    font-size: 17px;
    font-weight: 750;
}

.profile-card-heading p {
    color: var(--profile-muted);
    font-size: 13px;
}

/* Profile Form */

#profileForm {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 2px;
}

.form-group {
    width: 100%;
    min-width: 0;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #374151;
    font-size: 13px;
    font-weight: 650;
}

.form-group input {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    background: var(--profile-white);
    color: var(--profile-text);
    font-family: inherit;
    font-size: 13px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-group input:focus {
    border-color: var(--profile-primary);
    box-shadow: 0 0 0 3px rgba(124, 185, 71, 0.13);
}

.form-group input[readonly] {
    background: #f8fafc;
    border-color: #e5e7eb;
    color: #6b7280;
    cursor: default;
}

.form-group input[readonly]:focus {
    border-color: #e5e7eb;
    box-shadow: none;
}

.form-group input::placeholder {
    color: #9ca3af;
    font-size: 12px;
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: var(--profile-muted);
    font-size: 11px;
    line-height: 1.6;
}

/* Form Actions */

.profile-form-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 8px;
    padding-top: 22px;
    border-top: 1px solid #eef0f2;
}

.profile-form-actions .btn {
    min-width: 140px;
}

.profile-form-actions .btn-primary {
    min-width: 155px;
}

/* Read-only Account Information */

.profile-readonly-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #eef0f2;
}

.profile-readonly-row:first-of-type {
    padding-top: 4px;
}

.profile-readonly-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.profile-readonly-row span {
    flex-shrink: 0;
    color: var(--profile-muted);
    font-size: 13px;
}

.profile-readonly-row strong {
    max-width: 70%;
    color: var(--profile-text);
    font-size: 13px;
    font-weight: 650;
    text-align: right;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Keyboard Accessibility */

.profile-main button:focus-visible,
.profile-main a:focus-visible,
.profile-main input:focus-visible {
    outline: 3px solid rgba(124, 185, 71, 0.3);
    outline-offset: 3px;
}

/* Tablet */

@media (max-width: 768px) {
    .profile-main {
        padding: 26px 20px;
    }

    .profile-heading h1 {
        font-size: 27px;
    }

    .profile-card {
        padding: 24px;
    }

    #profileForm {
        column-gap: 18px;
    }

    .profile-form-actions .btn {
        min-width: 125px;
    }
}

/* Mobile */

@media (max-width: 540px) {
    .profile-main {
        padding: 22px 15px;
    }

    .profile-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 22px;
    }

    .profile-heading h1 {
        font-size: 25px;
    }

    .profile-heading p {
        font-size: 13px;
    }

    .profile-heading > button {
        width: 100%;
    }

    .profile-card {
        padding: 20px 17px;
        margin-bottom: 18px;
        border-radius: 10px;
    }

    .profile-card-heading {
        margin-bottom: 22px;
        padding-bottom: 15px;
    }

    .profile-card-heading h2,
    .profile-card > h2 {
        font-size: 16px;
    }

    #profileForm {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .form-group {
        margin-bottom: 17px;
    }

    .form-group input {
        height: 45px;
        font-size: 13px;
    }

    .profile-form-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 5px;
        padding-top: 18px;
    }

    .profile-form-actions .btn,
    .profile-form-actions .btn-primary {
        width: 100%;
        min-width: 0;
    }

    .profile-readonly-row {
        gap: 12px;
        padding: 14px 0;
    }

    .profile-readonly-row span,
    .profile-readonly-row strong {
        font-size: 12px;
    }

    .profile-readonly-row strong {
        max-width: 65%;
    }

    .form-message {
        font-size: 12px;
    }
}

/* Extra Small Phones */

@media (max-width: 350px) {
    .profile-main {
        padding: 17px 10px;
    }

    .profile-card {
        padding: 17px 13px;
    }

    .profile-heading h1 {
        font-size: 23px;
    }

    .profile-card-heading h2,
    .profile-card > h2 {
        font-size: 15px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input {
        height: 43px;
        padding: 0 10px;
        font-size: 12px;
    }

    .profile-readonly-row {
        flex-direction: column;
        gap: 5px;
    }

    .profile-readonly-row strong {
        max-width: 100%;
        text-align: left;
    }
}









/* =========================================================
   SECURITY & SESSION MANAGEMENT — ADTHRIVE MEDIA
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --security-primary: #7CB947;
    --security-primary-hover: #659e38;
    --security-text: #111827;
    --security-muted: #6b7280;
    --security-border: #e5e7eb;
    --security-background: #f7f8fa;
    --security-white: #ffffff;
}

body {
    min-height: 100vh;
    background: var(--security-background);
    color: var(--security-text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

/* Main Page */

.security-page {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 35px;
}

/* Page Heading */

.security-heading {
    margin-bottom: 28px;
}

.security-heading h1 {
    margin-bottom: 7px;
    color: var(--security-text);
    font-size: 30px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.security-heading p {
    color: var(--security-muted);
    font-size: 14px;
}

/* Security Cards */

.security-card {
    margin-bottom: 24px;
    padding: 27px;
    background: var(--security-white);
    border: 1px solid var(--security-border);
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.025);
}

.security-card h2 {
    margin-bottom: 8px;
    color: var(--security-text);
    font-size: 17px;
    font-weight: 750;
    line-height: 1.4;
}

.security-card > p {
    margin-bottom: 20px;
    color: var(--security-muted);
    font-size: 13px;
    line-height: 1.7;
}

/* Account Security Status */

.security-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 16px;
    background: #f8faf7;
    border: 1px solid #e7efdf;
    border-radius: 8px;
    color: #4f6f36;
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.security-status-dot {
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--security-primary);
    box-shadow: 0 0 0 4px rgba(124, 185, 71, 0.12);
}

/* Password Form */

#changePasswordForm {
    width: 100%;
    max-width: 580px;
}

.security-field {
    width: 100%;
    margin-bottom: 20px;
}

.security-field label {
    display: block;
    margin-bottom: 7px;
    color: #374151;
    font-size: 13px;
    font-weight: 650;
}

.security-field input {
    display: block;
    width: 100%;
    height: 47px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    background: var(--security-white);
    color: var(--security-text);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.security-field input:hover {
    border-color: #aeb5bf;
}

.security-field input:focus {
    border-color: var(--security-primary);
    box-shadow: 0 0 0 3px rgba(124, 185, 71, 0.13);
}

.security-field input::placeholder {
    color: #9ca3af;
    font-size: 13px;
}

.security-field small {
    display: block;
    margin-top: 7px;
    color: var(--security-muted);
    font-size: 11px;
    line-height: 1.6;
}

/* Show Password Checkbox */

.security-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 20px;
    color: #4b5563;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

.security-checkbox input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--security-primary);
    cursor: pointer;
}

/* Messages */

.security-message {
    display: none;
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.security-message:not(:empty) {
    display: block;
}

.security-message.success {
    background: #eaf7ee;
    border-color: #ccebd8;
    color: #16854f;
}

.security-message.error {
    background: #fff1f2;
    border-color: #fecaca;
    color: #b42318;
}

/* Buttons */

#changePasswordBtn,
.security-logout-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid var(--security-primary);
    border-radius: 8px;
    background: var(--security-primary);
    color: var(--security-white);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

#changePasswordBtn:hover,
.security-logout-btn:hover {
    background: var(--security-primary-hover);
    border-color: var(--security-primary-hover);
}

#changePasswordBtn:active,
.security-logout-btn:active {
    transform: scale(0.98);
}

#changePasswordBtn:disabled,
.security-logout-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Logout Button */

.security-logout-btn {
    border-color: #fecaca;
    background: #fff1f2;
    color: #b42318;
}

.security-logout-btn:hover {
    border-color: #fda4af;
    background: #ffe4e6;
    color: #991b1b;
}

/* Security Tips */

.security-card ul {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding-left: 22px;
    color: #4b5563;
    font-size: 13px;
}

.security-card li {
    padding-left: 4px;
    line-height: 1.7;
}

.security-card li::marker {
    color: var(--security-primary);
}

/* Accessibility */

.security-page button:focus-visible,
.security-page input:focus-visible {
    outline: 3px solid rgba(124, 185, 71, 0.3);
    outline-offset: 3px;
}

/* Tablet */

@media (max-width: 768px) {
    .security-page {
        padding: 27px 20px;
    }

    .security-heading h1 {
        font-size: 27px;
    }

    .security-card {
        padding: 23px;
    }

    #changePasswordForm {
        max-width: 100%;
    }
}

/* Mobile */

@media (max-width: 480px) {
    .security-page {
        padding: 22px 14px;
    }

    .security-heading {
        margin-bottom: 22px;
    }

    .security-heading h1 {
        font-size: 24px;
        letter-spacing: -0.3px;
    }

    .security-heading p {
        font-size: 13px;
    }

    .security-card {
        margin-bottom: 18px;
        padding: 19px 16px;
        border-radius: 10px;
    }

    .security-card h2 {
        font-size: 16px;
    }

    .security-card > p {
        margin-bottom: 17px;
        font-size: 12px;
    }

    .security-status {
        padding: 12px;
        font-size: 12px;
    }

    .security-field {
        margin-bottom: 17px;
    }

    .security-field label {
        font-size: 12px;
    }

    .security-field input {
        height: 45px;
        font-size: 13px;
    }

    .security-checkbox {
        margin-bottom: 18px;
        font-size: 12px;
    }

    #changePasswordBtn,
    .security-logout-btn {
        width: 100%;
        min-height: 45px;
        font-size: 12px;
    }

    .security-card ul {
        gap: 11px;
        padding-left: 19px;
        font-size: 12px;
    }

    .security-message {
        font-size: 12px;
    }
}

/* Extra Small Phones */

@media (max-width: 350px) {
    .security-page {
        padding: 17px 10px;
    }

    .security-heading h1 {
        font-size: 22px;
    }

    .security-card {
        padding: 16px 13px;
    }

    .security-card h2 {
        font-size: 15px;
    }

    .security-field input {
        padding: 0 11px;
        font-size: 12px;
    }
}









/* =========================================================
   NOTIFICATIONS PAGE — ADTHRIVE MEDIA
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --notification-primary: #7CB947;
    --notification-primary-hover: #659e38;
    --notification-text: #111827;
    --notification-muted: #6b7280;
    --notification-border: #e5e7eb;
    --notification-background: #f7f8fa;
    --notification-white: #ffffff;
}

body {
    min-height: 100vh;
    background: var(--notification-background);
    color: var(--notification-text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

/* Main Layout */

.notifications-page {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 35px;
}

/* Page Heading */

.notifications-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.notifications-heading h1 {
    margin-bottom: 6px;
    font-size: 30px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.notifications-heading p {
    color: var(--notification-muted);
    font-size: 14px;
}

/* Buttons */

.notifications-page button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border: 1px solid var(--notification-border);
    border-radius: 8px;
    background: var(--notification-white);
    color: #374151;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.notifications-page button:hover:not(:disabled) {
    background: #f8faf7;
    border-color: #c8d9b8;
    color: var(--notification-primary-hover);
}

.notifications-page button:active:not(:disabled) {
    transform: scale(0.98);
}

.notifications-page button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#markAllReadBtn,
#searchNotificationsBtn {
    background: var(--notification-primary);
    border-color: var(--notification-primary);
    color: #ffffff;
}

#markAllReadBtn:hover:not(:disabled),
#searchNotificationsBtn:hover:not(:disabled) {
    background: var(--notification-primary-hover);
    border-color: var(--notification-primary-hover);
    color: #ffffff;
}

/* Summary Cards */

.notification-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 26px;
}

.notification-summary-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 23px;
    background: var(--notification-white);
    border: 1px solid var(--notification-border);
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.025);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.notification-summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(15, 23, 42, 0.05);
}

.notification-summary-card span {
    color: var(--notification-muted);
    font-size: 13px;
    font-weight: 600;
}

.notification-summary-card strong {
    color: var(--notification-text);
    font-size: 30px;
    font-weight: 750;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.notification-summary-card:nth-child(2) strong {
    color: #b7791f;
}

.notification-summary-card:nth-child(3) strong {
    color: var(--notification-primary-hover);
}

/* Search and Filters */

.notification-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px auto;
    align-items: end;
    gap: 18px;
    margin-bottom: 20px;
    padding: 22px;
    background: var(--notification-white);
    border: 1px solid var(--notification-border);
    border-radius: 12px;
}

.notification-search,
.notification-filter {
    min-width: 0;
}

.notification-search label,
.notification-filter label {
    display: block;
    margin-bottom: 7px;
    color: #374151;
    font-size: 12px;
    font-weight: 700;
}

.notification-search input,
.notification-filter select {
    width: 100%;
    height: 45px;
    padding: 0 13px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    background: #ffffff;
    color: var(--notification-text);
    font-family: inherit;
    font-size: 13px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.notification-search input::placeholder {
    color: #9ca3af;
    font-size: 12px;
}

.notification-search input:focus,
.notification-filter select:focus {
    border-color: var(--notification-primary);
    box-shadow: 0 0 0 3px rgba(124, 185, 71, 0.13);
}

#searchNotificationsBtn {
    min-width: 100px;
    height: 45px;
}

/* Notification Message */

.notification-message {
    display: none;
    margin-bottom: 20px;
    padding: 13px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.notification-message:not(:empty) {
    display: block;
}

.notification-message.success {
    background: #eaf7ee;
    border-color: #ccebd8;
    color: #16854f;
}

.notification-message.error {
    background: #fff1f2;
    border-color: #fecaca;
    color: #b42318;
}

/* Notification List Section */

.notification-list-section {
    min-width: 0;
    margin-bottom: 25px;
    padding: 26px;
    background: var(--notification-white);
    border: 1px solid var(--notification-border);
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.025);
}

.notification-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 17px;
    border-bottom: 1px solid #eef0f2;
}

.notification-list-heading h2,
.notification-details h2 {
    color: var(--notification-text);
    font-size: 17px;
    font-weight: 750;
}

#notificationResultsCount {
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 20px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 11px;
    font-weight: 700;
}

/* Notification List Container */

#notificationList {
    min-width: 0;
}

#notificationList > p {
    padding: 35px 15px;
    color: var(--notification-muted);
    font-size: 13px;
    text-align: center;
}

/* Notification Items
   Supports common JS-rendered div, article and list items. */

#notificationList > div,
#notificationList > article,
#notificationList > li {
    position: relative;
    min-width: 0;
    padding: 19px 18px;
    border: 1px solid #eef0f2;
    border-radius: 9px;
    background: #ffffff;
    margin-bottom: 12px;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

#notificationList > div:hover,
#notificationList > article:hover,
#notificationList > li:hover {
    background: #fcfdfb;
    border-color: #dce8d2;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.035);
}

#notificationList > div:last-child,
#notificationList > article:last-child,
#notificationList > li:last-child {
    margin-bottom: 0;
}

/* Unread Notification Items */

#notificationList > .unread,
#notificationList > [data-read="false"],
#notificationList > [data-is-read="false"] {
    background: #f8fbf5;
    border-color: #dce8d2;
}

#notificationList strong {
    color: var(--notification-text);
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

#notificationList small {
    display: block;
    margin-top: 6px;
    color: var(--notification-muted);
    font-size: 11px;
    overflow-wrap: anywhere;
}

#notificationList p {
    color: #4b5563;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/* Pagination */

.notification-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eef0f2;
}

#notificationPageInfo {
    color: var(--notification-muted);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

/* Selected Notification Details */

.notification-details {
    margin-bottom: 30px;
    padding: 27px;
    background: var(--notification-white);
    border: 1px solid var(--notification-border);
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.025);
}

.notification-details[hidden] {
    display: none;
}

.notification-details h2 {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef0f2;
}

.notification-details p {
    margin-bottom: 13px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.notification-details p:empty {
    display: none;
}

#closeDetailsBtn {
    margin-top: 10px;
}

/* Accessibility */

.notifications-page button:focus-visible,
.notifications-page input:focus-visible,
.notifications-page select:focus-visible {
    outline: 3px solid rgba(124, 185, 71, 0.3);
    outline-offset: 3px;
}

/* Tablet */

@media (max-width: 900px) {
    .notifications-page {
        padding: 28px 22px;
    }

    .notification-summary {
        gap: 14px;
    }

    .notification-summary-card {
        padding: 20px;
    }

    .notification-controls {
        grid-template-columns: minmax(0, 1fr) minmax(160px, 0.7fr);
        gap: 16px;
    }

    #searchNotificationsBtn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .notifications-page {
        padding: 22px 14px;
    }

    .notifications-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 22px;
    }

    .notifications-heading h1 {
        font-size: 25px;
    }

    .notifications-heading p {
        font-size: 13px;
    }

    #markAllReadBtn {
        width: 100%;
    }

    .notification-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 20px;
    }

    .notification-summary-card {
        gap: 10px;
        padding: 15px 12px;
        border-radius: 9px;
    }

    .notification-summary-card span {
        font-size: 11px;
        line-height: 1.5;
    }

    .notification-summary-card strong {
        font-size: 25px;
    }

    .notification-controls {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 17px;
        border-radius: 10px;
    }

    .notification-search input,
    .notification-filter select {
        height: 44px;
    }

    #searchNotificationsBtn {
        grid-column: auto;
        width: 100%;
    }

    .notification-list-section {
        padding: 19px 14px;
        border-radius: 10px;
    }

    .notification-list-heading {
        align-items: flex-start;
        gap: 10px;
    }

    .notification-list-heading h2,
    .notification-details h2 {
        font-size: 15px;
    }

    #notificationResultsCount {
        font-size: 10px;
    }

    #notificationList > div,
    #notificationList > article,
    #notificationList > li {
        padding: 15px 12px;
    }

    #notificationList strong {
        font-size: 13px;
    }

    #notificationList p {
        font-size: 12px;
    }

    .notification-pagination {
        gap: 10px;
        justify-content: space-between;
    }

    .notifications-page .notification-pagination button {
        min-height: 39px;
        padding: 0 12px;
        font-size: 11px;
    }

    #notificationPageInfo {
        font-size: 11px;
    }

    .notification-details {
        padding: 20px 16px;
    }

    .notification-details p {
        font-size: 12px;
    }

    #closeDetailsBtn {
        width: 100%;
    }
}

/* Extra Small Phones */

@media (max-width: 360px) {
    .notifications-page {
        padding: 17px 10px;
    }

    .notifications-heading h1 {
        font-size: 23px;
    }

    .notification-summary {
        grid-template-columns: 1fr;
    }

    .notification-summary-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
    }

    .notification-summary-card strong {
        font-size: 23px;
    }

    .notification-list-section {
        padding: 16px 11px;
    }

    .notification-pagination {
        gap: 6px;
    }

    .notifications-page .notification-pagination button {
        padding: 0 9px;
    }
}










/* ================================
   Support Tickets Module
   AdThrive Media - Responsive CSS
================================ */

:root {
    --support-primary: #7CB947;
    --support-primary-hover: #659e38;
    --support-text: #111827;
    --support-muted: #6b7280;
    --support-border: #e5e7eb;
    --support-bg: #f7f8fa;
    --support-white: #ffffff;
    --support-danger: #dc2626;
    --support-radius: 10px;
    --support-shadow: 0 4px 14px rgba(17, 24, 39, 0.05);
}

.support-tickets-page,
.support-tickets-page * {
    box-sizing: border-box;
}

.support-tickets-page {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 28px;
    color: var(--support-text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
}

/* Page heading */

.support-tickets-page .page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.support-tickets-page .page-heading h1 {
    margin: 0 0 8px;
    color: var(--support-text);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.support-tickets-page .page-heading p {
    margin: 0;
    color: var(--support-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Buttons */

.support-tickets-page button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 17px;
    border: 1px solid var(--support-border);
    border-radius: 7px;
    background: var(--support-white);
    color: var(--support-text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.support-tickets-page button:hover {
    border-color: var(--support-primary);
    color: var(--support-primary-hover);
}

.support-tickets-page button:active {
    transform: translateY(1px);
}

.support-tickets-page button:focus-visible {
    outline: 3px solid rgba(124, 185, 71, 0.3);
    outline-offset: 2px;
}

.support-tickets-page button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

#refreshTicketsBtn,
#submitTicketBtn {
    border-color: var(--support-primary);
    background: var(--support-primary);
    color: var(--support-white);
}

#refreshTicketsBtn:hover,
#submitTicketBtn:hover {
    border-color: var(--support-primary-hover);
    background: var(--support-primary-hover);
    color: var(--support-white);
}

/* Content sections */

.support-tickets-page .billing-section {
    min-width: 0;
    margin-bottom: 25px;
    padding: 24px;
    border: 1px solid var(--support-border);
    border-radius: var(--support-radius);
    background: var(--support-white);
    box-shadow: var(--support-shadow);
}

/* Section headings */

.support-tickets-page .section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.support-tickets-page .section-heading h2 {
    margin: 0 0 7px;
    color: var(--support-text);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
}

.support-tickets-page .section-heading p {
    margin: 0;
    color: var(--support-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Form layout */

#supportTicketForm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
}

#supportTicketForm > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 8px;
}

#supportTicketForm > div:has(#ticketDescription) {
    grid-column: 1 / -1;
}

.support-tickets-page label {
    display: block;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

/* Form controls */

.support-tickets-page input,
.support-tickets-page select,
.support-tickets-page textarea {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    outline: none;
    background: var(--support-white);
    color: var(--support-text);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-tickets-page input::placeholder,
.support-tickets-page textarea::placeholder {
    color: #9ca3af;
}

.support-tickets-page input:focus,
.support-tickets-page select:focus,
.support-tickets-page textarea:focus {
    border-color: var(--support-primary);
    box-shadow: 0 0 0 3px rgba(124, 185, 71, 0.15);
}

.support-tickets-page input:disabled,
.support-tickets-page select:disabled,
.support-tickets-page textarea:disabled {
    background: #f3f4f6;
    color: var(--support-muted);
    cursor: not-allowed;
}

.support-tickets-page textarea {
    min-height: 140px;
    resize: vertical;
}

/* Submit button */

#submitTicketBtn {
    grid-column: 1 / -1;
    justify-self: start;
    min-width: 160px;
    margin-top: 2px;
}

/* Form and ticket list messages */

#ticketFormMessage,
#ticketListMessage {
    display: none;
    margin: 0;
    padding: 12px 15px;
    border: 1px solid var(--support-border);
    border-radius: 7px;
    background: #f9fafb;
    color: var(--support-text);
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

#ticketFormMessage:not(:empty),
#ticketListMessage:not(:empty) {
    display: block;
}

#ticketFormMessage {
    grid-column: 1 / -1;
}

#ticketFormMessage.success,
#ticketListMessage.success,
#ticketFormMessage[data-type="success"],
#ticketListMessage[data-type="success"] {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

#ticketFormMessage.error,
#ticketListMessage.error,
#ticketFormMessage[data-type="error"],
#ticketListMessage[data-type="error"] {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

#ticketFormMessage.warning,
#ticketListMessage.warning,
#ticketFormMessage[data-type="warning"],
#ticketListMessage[data-type="warning"] {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

/* Ticket status filter */

#ticketStatusFilter {
    width: auto;
    min-width: 165px;
    max-width: 240px;
    flex-shrink: 0;
}

/* Ticket table */

.support-tickets-page .billing-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--support-border);
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
}

.support-tickets-page .billing-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    border-spacing: 0;
    text-align: left;
}

.support-tickets-page .billing-table thead {
    background: #f9fafb;
}

.support-tickets-page .billing-table th {
    padding: 15px 16px;
    border-bottom: 1px solid var(--support-border);
    color: #4b5563;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    white-space: nowrap;
}

.support-tickets-page .billing-table td {
    padding: 15px 16px;
    border-bottom: 1px solid #f0f1f3;
    color: #374151;
    font-size: 14px;
    line-height: 1.6;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.support-tickets-page .billing-table tbody tr:last-child td {
    border-bottom: none;
}

.support-tickets-page .billing-table tbody tr:hover {
    background: #fafcf8;
}

.support-tickets-page .billing-table td[colspan] {
    padding: 30px 16px;
    color: var(--support-muted);
    text-align: center;
}

.support-tickets-page .billing-table td button {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 12px;
    white-space: nowrap;
}

/* Optional status badges */

.ticket-status,
.support-status,
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 4px 9px;
    border: 1px solid transparent;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.ticket-status.open,
.support-status.open,
.status-badge.open {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.ticket-status.in-progress,
.ticket-status.in_progress,
.support-status.in-progress,
.support-status.in_progress,
.status-badge.in-progress {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.ticket-status.resolved,
.support-status.resolved,
.status-badge.resolved {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.ticket-status.closed,
.support-status.closed,
.status-badge.closed {
    border-color: #e5e7eb;
    background: #f3f4f6;
    color: #4b5563;
}

/* Optional priority badges */

.ticket-priority,
.priority-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.ticket-priority.low,
.priority-badge.low {
    background: #f3f4f6;
    color: #4b5563;
}

.ticket-priority.medium,
.priority-badge.medium {
    background: #eff6ff;
    color: #1d4ed8;
}

.ticket-priority.high,
.priority-badge.high {
    background: #fff7ed;
    color: #c2410c;
}

.ticket-priority.urgent,
.priority-badge.urgent {
    background: #fef2f2;
    color: #b91c1c;
}

/* Ticket details dialog */

#supportTicketDetailsDialog {
    width: min(700px, calc(100% - 32px));
    max-width: 700px;
    max-height: 85vh;
    padding: 0;
    border: 1px solid var(--support-border);
    border-radius: 12px;
    background: var(--support-white);
    color: var(--support-text);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: auto;
}

#supportTicketDetailsDialog::backdrop {
    background: rgba(17, 24, 39, 0.55);
    backdrop-filter: blur(2px);
}

.support-tickets-page .payment-dialog-content {
    padding: 26px;
}

.support-tickets-page .payment-dialog-content .section-heading {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--support-border);
}

.support-tickets-page .payment-dialog-content .section-heading h2 {
    margin: 0;
    font-size: 21px;
}

#closeTicketDetailsBtn {
    flex-shrink: 0;
}

#supportTicketDetailsContent {
    color: #374151;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

#supportTicketDetailsContent p {
    margin: 10px 0;
}

#supportTicketDetailsContent strong {
    color: var(--support-text);
}

#supportTicketDetailsContent pre {
    max-width: 100%;
    padding: 14px;
    border: 1px solid var(--support-border);
    border-radius: 7px;
    background: #f9fafb;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    overflow-x: auto;
}

/* Tablet */

@media (max-width: 1050px) {
    .support-tickets-page {
        padding: 22px;
    }

    .support-tickets-page .page-heading h1 {
        font-size: 27px;
    }

    .support-tickets-page .billing-section {
        padding: 21px;
    }

    .support-tickets-page .billing-table {
        min-width: 880px;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .support-tickets-page {
        padding: 16px;
        font-size: 15px;
    }

    .support-tickets-page .page-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 20px;
    }

    .support-tickets-page .page-heading h1 {
        font-size: 24px;
    }

    .support-tickets-page .page-heading p {
        font-size: 14px;
    }

    #refreshTicketsBtn {
        width: 100%;
    }

    .support-tickets-page .billing-section {
        margin-bottom: 18px;
        padding: 16px;
    }

    .support-tickets-page .section-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .support-tickets-page .section-heading h2 {
        font-size: 19px;
    }

    #supportTicketForm {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    #supportTicketForm > div:has(#ticketDescription),
    #submitTicketBtn,
    #ticketFormMessage {
        grid-column: 1;
    }

    #submitTicketBtn {
        width: 100%;
    }

    #ticketStatusFilter {
        width: 100%;
        max-width: none;
    }

    .support-tickets-page .billing-table {
        min-width: 850px;
    }

    .support-tickets-page .billing-table th,
    .support-tickets-page .billing-table td {
        padding: 12px;
    }

    .support-tickets-page .payment-dialog-content {
        padding: 18px;
    }

    .support-tickets-page .payment-dialog-content .section-heading {
        align-items: center;
        flex-direction: row;
    }

    .support-tickets-page .payment-dialog-content .section-heading h2 {
        font-size: 18px;
    }
}

/* Small phones */

@media (max-width: 360px) {
    .support-tickets-page {
        padding: 12px;
    }

    .support-tickets-page .page-heading h1 {
        font-size: 22px;
    }

    .support-tickets-page .billing-section {
        padding: 13px;
    }

    .support-tickets-page input,
    .support-tickets-page select,
    .support-tickets-page textarea {
        font-size: 13px;
    }

    .support-tickets-page .payment-dialog-content {
        padding: 14px;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .support-tickets-page *,
    .support-tickets-page *::before,
    .support-tickets-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}









/* ================================
   Requests & Communication Module
   AdThrive Media - Responsive CSS
================================ */

:root {
    --communication-primary: #7CB947;
    --communication-primary-hover: #659e38;
    --communication-text: #111827;
    --communication-muted: #6b7280;
    --communication-border: #e5e7eb;
    --communication-bg: #f7f8fa;
    --communication-white: #ffffff;
    --communication-danger: #dc2626;
    --communication-radius: 10px;
    --communication-shadow: 0 4px 14px rgba(17, 24, 39, 0.05);
}

.requests-communication-page,
.requests-communication-page * {
    box-sizing: border-box;
}

.requests-communication-page {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 28px;
    color: var(--communication-text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
}

/* Page heading */

.requests-communication-page .page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.requests-communication-page .page-heading h1 {
    margin: 0 0 8px;
    color: var(--communication-text);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.requests-communication-page .page-heading p {
    margin: 0;
    color: var(--communication-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Buttons */

.requests-communication-page button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 17px;
    border: 1px solid var(--communication-border);
    border-radius: 7px;
    background: var(--communication-white);
    color: var(--communication-text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.requests-communication-page button:hover {
    border-color: var(--communication-primary);
    color: var(--communication-primary-hover);
}

.requests-communication-page button:active {
    transform: translateY(1px);
}

.requests-communication-page button:focus-visible {
    outline: 3px solid rgba(124, 185, 71, 0.3);
    outline-offset: 2px;
}

.requests-communication-page button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

#refreshRequestsBtn,
#searchRequestsBtn,
#saveCommunicationBtn,
#historySearchForm button,
#createFollowupBtn {
    border-color: var(--communication-primary);
    background: var(--communication-primary);
    color: var(--communication-white);
}

#refreshRequestsBtn:hover,
#searchRequestsBtn:hover,
#saveCommunicationBtn:hover,
#historySearchForm button:hover,
#createFollowupBtn:hover {
    border-color: var(--communication-primary-hover);
    background: var(--communication-primary-hover);
    color: var(--communication-white);
}

/* Main sections */

.requests-communication-page .billing-section {
    min-width: 0;
    margin-bottom: 25px;
    padding: 24px;
    border: 1px solid var(--communication-border);
    border-radius: var(--communication-radius);
    background: var(--communication-white);
    box-shadow: var(--communication-shadow);
}

/* Section headings */

.requests-communication-page .section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.requests-communication-page .section-heading h2 {
    margin: 0 0 7px;
    color: var(--communication-text);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
}

.requests-communication-page .section-heading p {
    margin: 0;
    color: var(--communication-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Labels and form controls */

.requests-communication-page label {
    display: block;
    margin: 0 0 7px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.requests-communication-page input,
.requests-communication-page select,
.requests-communication-page textarea {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    outline: none;
    background: var(--communication-white);
    color: var(--communication-text);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.requests-communication-page input::placeholder,
.requests-communication-page textarea::placeholder {
    color: #9ca3af;
}

.requests-communication-page input:focus,
.requests-communication-page select:focus,
.requests-communication-page textarea:focus {
    border-color: var(--communication-primary);
    box-shadow: 0 0 0 3px rgba(124, 185, 71, 0.15);
}

.requests-communication-page input:disabled,
.requests-communication-page select:disabled,
.requests-communication-page textarea:disabled {
    background: #f3f4f6;
    color: var(--communication-muted);
    cursor: not-allowed;
}

.requests-communication-page textarea {
    min-height: 115px;
    resize: vertical;
}

/* Customer request search */

.requests-communication-page .billing-section > div:has(> #requestSearch) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) auto;
    align-items: end;
    gap: 10px 14px;
}

#requestSearch,
#requestStatus {
    margin: 0;
}

/* General status messages */

#requestsMessage,
#communicationMessage,
#historyMessage,
#followupMessage,
#followupsMessage {
    display: none;
    margin: 16px 0;
    padding: 12px 15px;
    border: 1px solid var(--communication-border);
    border-radius: 7px;
    background: #f9fafb;
    color: var(--communication-text);
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

#requestsMessage:not(:empty),
#communicationMessage:not(:empty),
#historyMessage:not(:empty),
#followupMessage:not(:empty),
#followupsMessage:not(:empty) {
    display: block;
}

#requestsMessage.success,
#communicationMessage.success,
#historyMessage.success,
#followupMessage.success,
#followupsMessage.success,
#requestsMessage[data-type="success"],
#communicationMessage[data-type="success"],
#historyMessage[data-type="success"],
#followupMessage[data-type="success"],
#followupsMessage[data-type="success"] {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

#requestsMessage.error,
#communicationMessage.error,
#historyMessage.error,
#followupMessage.error,
#followupsMessage.error,
#requestsMessage[data-type="error"],
#communicationMessage[data-type="error"],
#historyMessage[data-type="error"],
#followupMessage[data-type="error"],
#followupsMessage[data-type="error"] {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

#requestsMessage.warning,
#communicationMessage.warning,
#historyMessage.warning,
#followupMessage.warning,
#followupsMessage.warning {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

/* Communication and follow-up forms */

#communicationForm,
#followupForm,
#historySearchForm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
    align-items: end;
}

#communicationForm > label,
#followupForm > label,
#historySearchForm > label {
    align-self: end;
    margin: 0 0 -10px;
}

#communicationForm > input,
#communicationForm > select,
#communicationForm > textarea,
#followupForm > input,
#followupForm > textarea,
#historySearchForm > input {
    min-width: 0;
}

#communicationForm > label[for="commMessage"],
#communicationForm > #commMessage,
#communicationForm > button,
#communicationForm > #communicationMessage,
#followupForm > label[for="followupNotes"],
#followupForm > #followupNotes,
#followupForm > button,
#followupForm > #followupMessage {
    grid-column: 1 / -1;
}

#communicationForm > button,
#followupForm > button,
#historySearchForm > button {
    justify-self: start;
    min-width: 175px;
}

#communicationForm > #communicationMessage,
#followupForm > #followupMessage {
    margin: 0;
}

#historySearchForm {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 20px;
}

#historySearchForm > button {
    grid-column: 1 / -1;
}

/* Customer request, history and follow-up tables */

.requests-communication-page .billing-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--communication-border);
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
}

.requests-communication-page .billing-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    border-spacing: 0;
    text-align: left;
}

.requests-communication-page .billing-table thead {
    background: #f9fafb;
}

.requests-communication-page .billing-table th {
    padding: 15px 16px;
    border-bottom: 1px solid var(--communication-border);
    color: #4b5563;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    white-space: nowrap;
}

.requests-communication-page .billing-table td {
    padding: 15px 16px;
    border-bottom: 1px solid #f0f1f3;
    color: #374151;
    font-size: 13px;
    line-height: 1.6;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.requests-communication-page .billing-table tbody tr:last-child td {
    border-bottom: none;
}

.requests-communication-page .billing-table tbody tr:hover {
    background: #fafcf8;
}

.requests-communication-page .billing-table td[colspan] {
    padding: 28px 16px;
    color: var(--communication-muted);
    text-align: center;
}

.requests-communication-page .billing-table td button {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 12px;
    white-space: nowrap;
}

/* Optional request and follow-up status badges */

.request-status,
.followup-status,
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 4px 9px;
    border: 1px solid transparent;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.request-status.open,
.followup-status.pending,
.status-badge.pending {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.request-status.in-progress,
.request-status.in_progress {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.request-status.resolved,
.followup-status.completed,
.status-badge.completed {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.request-status.closed,
.followup-status.cancelled,
.status-badge.cancelled {
    border-color: #e5e7eb;
    background: #f3f4f6;
    color: #4b5563;
}

/* Follow-up status filter */

#followupStatusFilter {
    width: auto;
    min-width: 160px;
    max-width: 240px;
}

/* Follow-up table controls */

#followupsBody select {
    min-width: 130px;
    min-height: 36px;
    padding: 7px 9px;
    font-size: 12px;
}

#followupsBody button {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 12px;
}

/* Tablet */

@media (max-width: 1050px) {
    .requests-communication-page {
        padding: 22px;
    }

    .requests-communication-page .page-heading h1 {
        font-size: 27px;
    }

    .requests-communication-page .billing-section {
        padding: 21px;
    }

    .requests-communication-page .billing-section > div:has(> #requestSearch) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #searchRequestsBtn {
        grid-column: 1 / -1;
        justify-self: start;
    }

    #historySearchForm {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .requests-communication-page .billing-table {
        min-width: 850px;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .requests-communication-page {
        padding: 16px;
        font-size: 15px;
    }

    .requests-communication-page .page-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 20px;
    }

    .requests-communication-page .page-heading h1 {
        font-size: 24px;
    }

    .requests-communication-page .page-heading p {
        font-size: 14px;
    }

    #refreshRequestsBtn {
        width: 100%;
    }

    .requests-communication-page .billing-section {
        margin-bottom: 18px;
        padding: 16px;
    }

    .requests-communication-page .section-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .requests-communication-page .section-heading h2 {
        font-size: 19px;
    }

    .requests-communication-page .billing-section > div:has(> #requestSearch) {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .requests-communication-page .billing-section > div:has(> #requestSearch) label {
        margin-top: 8px;
    }

    #searchRequestsBtn {
        width: 100%;
        grid-column: auto;
    }

    #communicationForm,
    #followupForm,
    #historySearchForm {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    #communicationForm > label,
    #followupForm > label,
    #historySearchForm > label {
        margin: 7px 0 -5px;
    }

    #communicationForm > label[for="commMessage"],
    #communicationForm > #commMessage,
    #communicationForm > button,
    #communicationForm > #communicationMessage,
    #followupForm > label[for="followupNotes"],
    #followupForm > #followupNotes,
    #followupForm > button,
    #followupForm > #followupMessage,
    #historySearchForm > button {
        grid-column: 1;
    }

    #communicationForm > button,
    #followupForm > button,
    #historySearchForm > button {
        width: 100%;
        justify-self: stretch;
        margin-top: 8px;
    }

    #followupStatusFilter {
        width: 100%;
        max-width: none;
    }

    .requests-communication-page .billing-table {
        min-width: 820px;
    }

    .requests-communication-page .billing-table th,
    .requests-communication-page .billing-table td {
        padding: 12px;
    }
}

/* Small phones */

@media (max-width: 360px) {
    .requests-communication-page {
        padding: 12px;
    }

    .requests-communication-page .page-heading h1 {
        font-size: 22px;
    }

    .requests-communication-page .billing-section {
        padding: 13px;
    }

    .requests-communication-page input,
    .requests-communication-page select,
    .requests-communication-page textarea {
        font-size: 13px;
    }

    .requests-communication-page button {
        padding: 9px 12px;
        font-size: 13px;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .requests-communication-page *,
    .requests-communication-page *::before,
    .requests-communication-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}









/* ==========================================================
   ADTHRIVE MEDIA — ACCOUNT MANAGEMENT
   File: CSS/account-management.css
   Scope: Main content only — header/sidebar excluded
========================================================== */

/* ---------- Design Tokens ---------- */

:root {
    --account-primary: #7CB947;
    --account-primary-hover: #659e38;
    --account-primary-light: #f1f8eb;

    --account-text: #202124;
    --account-text-secondary: #64748b;
    --account-border: #e5e7eb;
    --account-card-bg: #ffffff;
    --account-page-bg: #f8fafc;

    --account-success: #166534;
    --account-success-bg: #ecfdf5;
    --account-success-border: #bbf7d0;

    --account-error: #991b1b;
    --account-error-bg: #fef2f2;
    --account-error-border: #fecaca;

    --account-info: #1d4ed8;
    --account-info-bg: #eff6ff;
    --account-info-border: #bfdbfe;

    --account-radius: 14px;
    --account-radius-sm: 8px;

    --account-shadow:
        0 4px 18px rgba(15, 23, 42, 0.04);

    --account-shadow-hover:
        0 8px 26px rgba(15, 23, 42, 0.08);
}

/* ---------- Main Page ---------- */

.account-page {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    margin: 0 auto;
    padding: 32px 28px 50px;
    color: var(--account-text);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
}

.account-page *,
.account-page *::before,
.account-page *::after {
    box-sizing: border-box;
}

.account-page h1,
.account-page h2,
.account-page p {
    overflow-wrap: anywhere;
}

.account-page button,
.account-page input {
    font-family: inherit;
}

/* ---------- Page Heading ---------- */

.account-heading {
    margin-bottom: 28px;
}

.account-heading h1 {
    margin: 0 0 8px;
    color: var(--account-text);
    font-size: 32px;
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -0.6px;
}

.account-heading p {
    margin: 0;
    color: var(--account-text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- Main Grid ---------- */

.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
    width: 100%;
    min-width: 0;
}

/* ---------- Cards ---------- */

.account-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 25px;
    border: 1px solid var(--account-border);
    border-radius: var(--account-radius);
    background: var(--account-card-bg);
    box-shadow: var(--account-shadow);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.account-card:hover {
    border-color: #d8e5cf;
    box-shadow: var(--account-shadow-hover);
}

.account-card h2 {
    margin: 0 0 9px;
    color: var(--account-text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.account-card .description {
    margin: 0 0 22px;
    color: var(--account-text-secondary);
    font-size: 14px;
    line-height: 1.75;
}

/* Full-width cards */

.account-full {
    grid-column: 1 / -1;
}

/* ---------- Forms ---------- */

.account-card form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    gap: 0;
    margin: 0;
    padding: 0;
}

.account-form-group {
    width: 100%;
    min-width: 0;
    margin: 0 0 19px;
}

.account-form-group label {
    display: block;
    margin: 0 0 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
}

/* ---------- Inputs ---------- */

.account-form-group input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid #d1d5db;
    border-radius: var(--account-radius-sm);
    outline: none;
    background: #ffffff;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.5;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.account-form-group input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.account-form-group input:hover:not(:disabled) {
    border-color: #aeb8c5;
}

.account-form-group input:focus {
    border-color: var(--account-primary);
    box-shadow: 0 0 0 3px rgba(124, 185, 71, 0.16);
}

.account-form-group input:disabled {
    border-color: #e5e7eb;
    background: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
    opacity: 1;
}

.account-form-group input:required:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #d1d5db;
}

/* Browser autofill */

.account-form-group input:-webkit-autofill {
    -webkit-text-fill-color: #1f2937;
}

/* Help text */

.account-form-group small {
    display: block;
    margin-top: 7px;
    color: var(--account-text-secondary);
    font-size: 12px;
    line-height: 1.7;
}

/* ---------- Buttons ---------- */

.account-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    gap: 8px;
    min-width: 130px;
    min-height: 44px;
    margin: 2px 0 0;
    padding: 11px 17px;
    border: 1px solid transparent;
    border-radius: var(--account-radius-sm);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.account-button:hover:not(:disabled) {
    transform: translateY(-1px);
}

.account-button:active:not(:disabled) {
    transform: translateY(0);
}

.account-button:focus-visible {
    outline: 3px solid rgba(124, 185, 71, 0.3);
    outline-offset: 3px;
}

.account-button:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

/* Primary */

.account-primary {
    border-color: var(--account-primary);
    background: var(--account-primary);
    color: #ffffff;
}

.account-primary:hover:not(:disabled) {
    border-color: var(--account-primary-hover);
    background: var(--account-primary-hover);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(101, 158, 56, 0.18);
}

/* Danger */

.account-danger {
    border-color: #dc2626;
    background: #dc2626;
    color: #ffffff;
}

.account-danger:hover:not(:disabled) {
    border-color: #b91c1c;
    background: #b91c1c;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

/* Refresh */

.account-refresh {
    margin-top: 20px;
    border-color: #d1d5db;
    background: #ffffff;
    color: #374151;
}

.account-refresh:hover:not(:disabled) {
    border-color: var(--account-primary);
    background: var(--account-primary-light);
    color: #477d25;
}

/* ---------- Account Overview Details ---------- */

.account-detail {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
    padding: 14px 0;
    border-bottom: 1px solid var(--account-border);
    font-size: 14px;
    line-height: 1.6;
}

.account-detail:first-of-type {
    padding-top: 2px;
}

.account-detail:last-of-type {
    border-bottom: 0;
}

.account-detail span:first-child {
    flex: 0 0 45%;
    color: var(--account-text-secondary);
    font-weight: 500;
}

.account-detail span:last-child {
    flex: 1 1 auto;
    min-width: 0;
    color: #1f2937;
    font-weight: 650;
    text-align: right;
    overflow-wrap: anywhere;
}

/* ---------- Status Messages ---------- */

.account-status {
    display: none;
    width: 100%;
    min-width: 0;
    margin: 15px 0 0;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: var(--account-radius-sm);
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/* JavaScript adds one of these classes */

.account-status.success {
    display: block;
    border-color: var(--account-success-border);
    background: var(--account-success-bg);
    color: var(--account-success);
}

.account-status.error {
    display: block;
    border-color: var(--account-error-border);
    background: var(--account-error-bg);
    color: var(--account-error);
}

.account-status.info {
    display: block;
    border-color: var(--account-info-border);
    background: var(--account-info-bg);
    color: var(--account-info);
}

/* ---------- Delete Account Danger Zone ---------- */

.account-danger-zone {
    border-color: #fecaca;
    background: #fffdfd;
}

.account-danger-zone:hover {
    border-color: #fca5a5;
}

.account-danger-zone h2 {
    color: #991b1b;
}

.account-danger-zone .description {
    max-width: 850px;
}

.account-warning {
    margin: 0 0 22px;
    padding: 15px 17px;
    border: 1px solid #fecaca;
    border-radius: var(--account-radius-sm);
    background: #fef2f2;
    color: #991b1b;
    font-size: 13px;
    line-height: 1.8;
}

/* Delete confirmation form */

#deleteAccountForm {
    max-width: 700px;
}

#deleteAccountForm .account-form-group {
    margin-bottom: 19px;
}

#deleteConfirmation {
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Confirmation checkbox */

.account-check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0 0 22px;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.7;
    cursor: pointer;
}

.account-check-label input {
    flex: 0 0 17px;
    width: 17px;
    min-width: 17px;
    height: 17px;
    min-height: 17px;
    margin: 3px 0 0;
    padding: 0;
    accent-color: var(--account-primary);
    cursor: pointer;
}

.account-check-label span {
    min-width: 0;
}

/* Delete action */

#deleteAccountButton {
    min-width: 220px;
}

/* ---------- Empty / Loading Values ---------- */

.account-detail span:last-child:empty::after {
    content: "—";
    color: #9ca3af;
}

/* ---------- Responsive: Tablet ---------- */

@media (max-width: 1000px) {
    .account-page {
        max-width: 100%;
        padding: 28px 22px 40px;
    }

    .account-grid {
        gap: 18px;
    }

    .account-card {
        padding: 21px;
    }

    .account-heading h1 {
        font-size: 29px;
    }
}

/* ---------- Responsive: Mobile ---------- */

@media (max-width: 700px) {
    .account-page {
        padding: 23px 16px 35px;
    }

    .account-heading {
        margin-bottom: 22px;
    }

    .account-heading h1 {
        font-size: 26px;
        letter-spacing: -0.3px;
    }

    .account-heading p {
        font-size: 14px;
    }

    .account-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .account-full {
        grid-column: auto;
    }

    .account-card {
        padding: 19px;
        border-radius: 12px;
    }

    .account-card h2 {
        font-size: 19px;
    }

    .account-card .description {
        margin-bottom: 19px;
        font-size: 13px;
    }

    .account-form-group {
        margin-bottom: 17px;
    }

    .account-form-group input {
        min-height: 45px;
    }

    .account-detail {
        gap: 12px;
        padding: 13px 0;
        font-size: 13px;
    }

    .account-detail span:first-child {
        flex-basis: 43%;
    }

    .account-button {
        min-height: 44px;
    }

    #deleteAccountButton {
        width: 100%;
        min-width: 0;
    }

    .account-warning {
        padding: 13px;
    }
}

/* ---------- Responsive: Small Mobile ---------- */

@media (max-width: 380px) {
    .account-page {
        padding: 18px 12px 28px;
    }

    .account-heading h1 {
        font-size: 24px;
    }

    .account-card {
        padding: 15px;
    }

    .account-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .account-detail span:first-child,
    .account-detail span:last-child {
        flex: initial;
        width: 100%;
        text-align: left;
    }

    .account-button {
        width: 100%;
        min-width: 0;
    }

    .account-check-label {
        font-size: 12px;
    }
}

/* ---------- Accessibility ---------- */

@media (prefers-reduced-motion: reduce) {
    .account-page *,
    .account-page *::before,
    .account-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}












/*==================
    SUPPPORT SECTION
=========================*/

/* =========================
   SUPPORT HERO
========================= */

.support-hero {
    padding: 80px 8%;
    background: linear-gradient(
        135deg,
        #f1faec,
        #ffffff
    );
}

.support-hero-content {
    max-width: 1150px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.support-hero-text {
    flex: 1;
}

.support-label,
.section-heading span,
.ticket-form-container > span {
    color: #7CB947;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.support-hero h1 {
    margin: 15px 0;
    font-size: 48px;
    line-height: 1.1;
    color: #111;
}

.support-hero h1 span {
    color: #7CB947;
}

.support-hero p {
    max-width: 600px;
    color: #606a6a;
    font-size: 17px;
    line-height: 1.6;
}

.support-hero-image {
    flex: 1;
    text-align: center;
}

.support-hero-image img {
    width: 100%;
    max-width: 450px;
    object-fit: contain;
}

.support-search {
    max-width: 550px;
    height: 52px;
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,.06);
}

.support-search i {
    color: #7CB947;
}

.support-search input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 15px;
}


/* =========================
   COMMON
========================= */

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading h2 {
    margin: 10px 0;
    font-size: 34px;
    color: #111;
}

.section-heading p {
    color: #687070;
}


/* =========================
   QUICK SUPPORT
========================= */

.quick-support,
.support-products,
.help-center,
.faq-section,
.ticket-section {
    padding: 75px 8%;
}

.support-cards {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.support-card {
    padding: 30px;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    background: white;
    transition: .3s;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.support-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
}

.whatsapp {
    color: #25D366;
    background: #e7f9ee;
}

.email {
    color: #2878d7;
    background: #eaf3ff;
}

.ticket {
    color: #7CB947;
    background: #eef8e8;
}

.support-card h3 {
    margin: 20px 0 10px;
}

.support-card p {
    color: #697171;
    line-height: 1.6;
}

.support-card a,
.help-box a {
    color: #7CB947;
    font-weight: 700;
    text-decoration: none;
}


/* =========================
   PRODUCTS
========================= */

.support-products {
    background: #f8faf7;
}

.product-support-grid {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.product-support-card {
    display: flex;
    gap: 25px;
    padding: 25px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
}

.product-support-card img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.product-support-card h3 {
    margin-top: 0;
}

.product-support-card p {
    color: #687070;
    line-height: 1.5;
}

.product-support-card ul {
    padding-left: 18px;
    color: #444;
    line-height: 1.8;
}


/* =========================
   HELP CENTER
========================= */

.help-grid {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.help-box {
    padding: 25px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
}

.help-box i {
    color: #7CB947;
    font-size: 25px;
}

.help-box h3 {
    margin-bottom: 10px;
}

.help-box p {
    color: #687070;
    line-height: 1.5;
}


/* =========================
   FAQ
========================= */

.faq-section {
    background: #f8faf7;
}

.faq-container {
    max-width: 850px;
    margin: auto;
}

.faq-container details {
    margin-bottom: 12px;
    padding: 20px 22px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
}

.faq-container summary {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 700;
}

.faq-container summary span {
    color: #7CB947;
}

.faq-container p {
    color: #687070;
    line-height: 1.6;
    margin-bottom: 0;
}


/* =========================
   TICKET
========================= */

.ticket-content {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 70px;
}

.ticket-image {
    flex: 1;
    text-align: center;
}

.ticket-image img {
    width: 100%;
    max-width: 400px;
}

.ticket-form-container {
    flex: 1;
}

.ticket-form-container h2 {
    font-size: 34px;
    margin: 12px 0;
}

.ticket-form-container > p {
    color: #687070;
}

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

.form-field {
    margin-bottom: 15px;
}

.form-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 14px;
    font-family: inherit;
    outline: none;
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #7CB947;
}

.submit-ticket {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: #7CB947;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.submit-ticket span {
    margin-left: 8px;
}

.form-success {
    margin-top: 12px;
    color: #16854f;
    font-weight: 600;
}

.form-error {
    margin-top: 12px;
    color: #c62828;
    font-weight: 600;
}


/* =========================
   SUPPORT HOURS
========================= */

.support-hours {
    max-width: 1100px;
    margin: 0 auto 70px;
    padding: 0 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hours-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    border-radius: 12px;
    background: #f4f9f1;
}

.hours-card i {
    color: #7CB947;
    font-size: 28px;
}

.hours-card h3 {
    margin: 0 0 6px;
}

.hours-card p {
    margin: 0;
    color: #687070;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 40px 8%;
    background: #101414;
    color: white;
}

.footer-brand h3 {
    margin: 0;
}

.footer-brand p {
    color: #aeb6b6;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-copy {
    color: #899090;
    font-size: 13px;
}


/* =========================
   WHATSAPP FLOAT
========================= */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,.18);
    z-index: 99999;
}

.whatsapp-float i {
    font-size: 28px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .support-hero {
        padding: 50px 18px;
    }

    .support-hero-content {
        flex-direction: column;
        gap: 30px;
    }

    .support-hero h1 {
        font-size: 34px;
    }

    .support-hero p {
        font-size: 15px;
    }

    .support-hero-image img {
        max-width: 280px;
    }

    .quick-support,
    .support-products,
    .help-center,
    .faq-section,
    .ticket-section {
        padding: 50px 18px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .support-cards {
        grid-template-columns: 1fr;
    }

    .product-support-grid {
        grid-template-columns: 1fr;
    }

    .product-support-card {
        flex-direction: column;
    }

    .product-support-card img {
        width: 100%;
        height: 160px;
    }

    .help-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ticket-content {
        flex-direction: column;
        gap: 30px;
    }

    .ticket-form-container {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .support-hours {
        grid-template-columns: 1fr;
        padding: 0 18px;
    }

    footer {
        padding: 35px 18px;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        right: 15px;
        bottom: 15px;
    }

    .whatsapp-float i {
        font-size: 25px;
    }

}


@media (max-width: 480px) {

    .help-grid {
        grid-template-columns: 1fr;
    }

    .support-hero h1 {
        font-size: 30px;
    }

}