body.jg-portal-ui #content > .ast-container,
body.jg-portal-ui .site-content > .ast-container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

body.jg-portal-ui .jg-portal-shell {
    --jg-surface-border: #dfe3e8;
    --jg-surface-bg: #ffffff;
    --jg-surface-shadow: 0 10px 30px rgba(19, 24, 34, 0.07);
}

body.jg-portal-ui .jg-portal-surface {
    background: var(--jg-surface-bg);
    border: 1px solid var(--jg-surface-border);
    border-radius: 14px;
    box-shadow: var(--jg-surface-shadow);
    padding: 1.25rem;
}

body.jg-portal-ui .jg-portal-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.75rem;
}

body.jg-portal-ui .jg-portal-title {
    letter-spacing: 0.01em;
    font-weight: 700;
    color: #1d2939;
}

body.jg-portal-ui .jg-portal-content {
    color: #344054;
}

body.jg-portal-ui .jg-portal-content .wjportal-main-wrapper,
body.jg-portal-ui .jg-portal-content .wpj-jp-main-wrapper,
body.jg-portal-ui .jg-portal-content .um,
body.jg-portal-ui .jg-portal-content .jgi-invites-panel {
    width: 100%;
}

body.jg-portal-ui .jg-portal-content .wjportal-cp-list,
body.jg-portal-ui .jg-portal-content .wpj-jp-cp-list {
    border: 1px solid #e7eaf0;
    border-radius: 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.jg-portal-ui .jg-portal-content .wjportal-cp-list:hover,
body.jg-portal-ui .jg-portal-content .wpj-jp-cp-list:hover {
    border-color: #98a2b3;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

body.jg-portal-ui .jg-portal-content .wjportal-cp-list a,
body.jg-portal-ui .jg-portal-content .wpj-jp-cp-list a,
body.jg-portal-ui .jg-portal-content .jgi-btn,
body.jg-portal-ui .jg-portal-content .btn {
    border-radius: 0.5rem;
}

body.jg-portal-ui .jg-portal-content input,
body.jg-portal-ui .jg-portal-content select,
body.jg-portal-ui .jg-portal-content textarea {
    border-radius: 0.5rem;
}

body.jg-portal-ui .jg-portal-content table {
    width: 100%;
}

body.jg-portal-ui .jg-portal-content .jgi-invite-item {
    border-radius: 12px;
    border: 1px solid #e4e7ec;
}

body.jg-portal-ui .jg-portal-content .jgi-status-badge {
    border-radius: 999px;
    padding: 0.125rem 0.625rem;
    font-size: 0.8rem;
}

body.jg-portal-ui .jg-portal-content .jgi-btn {
    border: 1px solid transparent;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.jg-portal-ui .jg-portal-content .jgi-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

body.jg-portal-ui .jg-portal-content .alert,
body.jg-portal-ui .jg-portal-content .wjportal-error-message,
body.jg-portal-ui .jg-portal-content .wpj-jp-error-message {
    border-radius: 10px;
}

@media (max-width: 991.98px) {
    body.jg-portal-ui .jg-portal-shell {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    body.jg-portal-ui .jg-portal-surface {
        border-radius: 10px;
        padding: 1rem;
    }
}
