.ast-container,
.site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.rp-scope {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* =========================
   COMPONENTS (UI + layout)
   ========================= */
@layer rp-components {
/* CARD */
.rp-scope .card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;

    box-shadow:
        0 2px 6px rgba(0,0,0,0.05),
        0 12px 32px rgba(0,0,0,0.06);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease;
}

.rp-scope .card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 6px 16px rgba(0,0,0,0.08),
        0 18px 42px rgba(0,0,0,0.08);

    border-color: #d0d7de;
}


/* BUTTONS */
.rp-scope .dash-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 11px 18px;

    border: none;
    border-radius: 10px;

    background: linear-gradient(
        135deg,
        #7c3aed,
        #5b21b6
    );

    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        filter 0.12s ease;

    box-shadow:
        0 4px 10px rgba(124,58,237,0.25);
}

.rp-scope .dash-btn:hover {
    transform: translateY(-1px);

    filter: brightness(0.94);

    box-shadow:
        0 8px 18px rgba(124,58,237,0.32);
}

.rp-scope .dash-btn:active {
    transform: scale(0.98);
}


/* DELETE BUTTON */
.rp-scope .delete-btn {
    background: #EC2D01 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(236,45,1,0.25);
}

.rp-scope .delete-btn:hover {
    background: #ff5a36 !important;
    color: #ffffff !important;

    box-shadow:
        0 8px 18px rgba(236,45,1,0.35);
}


/* LOGOUT BUTTON */
.rp-scope .logout-btn {
    background: #ffffff;
    color: #d63638 !important;
    border: 1px solid #d63638;
    box-shadow: none;
}

.rp-scope .logout-btn:hover {
    background: #fff5f5;
}

.rp-scope .logout-btn:hover {
    background: #fff5f5;
}

/* UPGRADE BUTTON */
.rp-scope .upgrade-btn {
    background: linear-gradient(
        135deg,
        #16a34a,
        #15803d
    );
}
.rp-scope .dashboard-main {
    max-width: 1400px;
    margin: 0 auto;
}

.rp-scope .dashboard-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rp-scope .dashboard-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}



.rp-scope input,
.rp-scope select,
.rp-scope textarea {
    border: 1px solid #dcdcde;
    border-radius: 8px;
    background: #fff;
}

.rp-scope input:focus,
.rp-scope select:focus,
.rp-scope textarea:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}
}
.rp-scope .dashboard-main {
    width: 100%;
    padding: 24px;
}

.rp-scope .layout-2col {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.rp-scope .dashboard-left {
    flex: 1 1 auto;
    min-width: 0;
}

.rp-scope .dashboard-right {
    width: 320px;
    flex: 0 0 320px;
}

@media (max-width: 900px) {

    .rp-scope .layout-2col {
        flex-direction: column;
    }

    .rp-scope .dashboard-right {
        width: 100%;
        flex: unset;
    }
}

/* =========================
   ENHANCED CARD STYLING
   ========================= */

.rp-scope .card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
    box-shadow:
        0 1px 3px rgba(0,0,0,0.06),
        0 10px 30px rgba(0,0,0,0.04);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease;
}

.rp-scope .card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 4px 12px rgba(0,0,0,0.08),
        0 18px 40px rgba(0,0,0,0.06);

    border-color: #d0d7de;
}

/* headings inside cards */

/* TOP ACTION BAR */
.rp-scope .dashboard-actions,
.rp-scope .dashboard-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

/* prevent buttons from breaking line */
.rp-scope .dashboard-actions .dash-btn,
.rp-scope .dashboard-nav .dash-btn {
    white-space: nowrap;
}