/* AdawatiPlus Social Publisher public accounts portal v1.1.1 */
:root {
    --adp-orange: #fc9012;
    --adp-cyan: #00bddd;
    --adp-ink: #172033;
    --adp-muted: #64748b;
    --adp-line: #dce7ee;
    --adp-soft: #f5f9fc;
    --adp-warm: #fff8ef;
    --adp-white: #ffffff;
}

html[lang="ar"] .adp-sp-site-portal,
html[lang="ar"] .adp-sp-site-portal button,
html[lang="ar"] .adp-sp-site-portal input,
html[lang="ar"] .adp-sp-site-portal textarea,
html[lang="ar"] .adp-sp-site-portal select {
    font-family: "Cairo", sans-serif;
}

html[lang="en"] .adp-sp-site-portal,
html[lang="en"] .adp-sp-site-portal button,
html[lang="en"] .adp-sp-site-portal input,
html[lang="en"] .adp-sp-site-portal textarea,
html[lang="en"] .adp-sp-site-portal select {
    font-family: "Montserrat", sans-serif;
}

html[lang="ar"] .adp-sp-site-portal h1,
html[lang="ar"] .adp-sp-site-portal h2,
html[lang="ar"] .adp-sp-site-portal h3,
html[lang="ar"] .adp-sp-site-portal h4,
html[lang="ar"] .adp-sp-site-portal h5,
html[lang="ar"] .adp-sp-site-portal h6 {
    font-family: "Cairo", sans-serif !important;
    font-weight: 700 !important;
}

.adp-sp-site-portal {
    background: var(--adp-soft);
    min-height: 70vh;
    padding: 28px 18px 48px;
}

.adp-sp-account-shell,
.adp-sp-portal-app {
    color: var(--adp-ink);
    margin: 0 auto;
    max-width: 1480px;
}

.adp-sp-account-shell {
    align-items: stretch;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    min-height: 650px;
}

.adp-sp-account-visual,
.adp-sp-account-card {
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(23, 32, 51, .09);
}

.adp-sp-account-visual {
    align-items: flex-start;
    background:
        radial-gradient(circle at 20% 18%, rgba(0, 189, 221, .28), transparent 33%),
        radial-gradient(circle at 80% 82%, rgba(252, 144, 18, .30), transparent 34%),
        var(--adp-ink);
    color: var(--adp-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: clamp(38px, 7vw, 90px);
    position: relative;
}

.adp-sp-account-badge,
.adp-sp-portal-kicker {
    align-items: center;
    background: rgba(0, 189, 221, .12);
    border: 1px solid rgba(0, 189, 221, .35);
    border-radius: 999px;
    color: #007f96;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 12px;
}

.adp-sp-account-visual .adp-sp-account-badge {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .18);
    color: var(--adp-white);
}

.adp-sp-account-visual h1 {
    color: var(--adp-white);
    font-size: clamp(34px, 5vw, 66px);
    line-height: 1.2;
    margin: 24px 0 18px;
    max-width: 780px;
}

.adp-sp-account-visual p {
    color: rgba(255, 255, 255, .80);
    font-size: 18px;
    line-height: 1.9;
    margin: 0;
    max-width: 700px;
}

.adp-sp-account-visual ul {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
}

.adp-sp-account-visual li::before {
    color: var(--adp-orange);
    content: "✓";
    font-weight: 900;
    margin-left: 9px;
}

.adp-sp-account-card {
    align-self: center;
    background: var(--adp-white);
    border: 1px solid var(--adp-line);
    padding: clamp(28px, 5vw, 58px);
}

.adp-sp-account-logo {
    align-items: center;
    background: linear-gradient(145deg, var(--adp-cyan), var(--adp-orange));
    border-radius: 20px;
    box-shadow: 0 16px 34px rgba(0, 189, 221, .22);
    color: var(--adp-white);
    display: inline-flex;
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    font-weight: 800;
    height: 58px;
    justify-content: center;
    margin-bottom: 28px;
    width: 58px;
}

.adp-sp-account-title h2,
.adp-sp-portal-heading h1 {
    color: var(--adp-ink);
    margin: 0;
}

.adp-sp-account-title h2 {
    font-size: 30px;
}

.adp-sp-account-title p,
.adp-sp-portal-heading p {
    color: var(--adp-muted);
    line-height: 1.8;
    margin: 8px 0 0;
}

.adp-sp-account-message {
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 22px;
    padding: 13px 15px;
}

.adp-sp-account-message.success {
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #067647;
}

.adp-sp-account-message.error {
    background: #fff1f3;
    border: 1px solid #fecdd6;
    color: #c01048;
}

.adp-sp-account-form {
    display: grid;
    gap: 17px;
    margin-top: 28px;
}

.adp-sp-account-form label {
    color: var(--adp-ink);
    display: grid;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
}

.adp-sp-account-form input {
    background: var(--adp-white);
    border: 1px solid var(--adp-line);
    border-radius: 13px;
    color: var(--adp-ink);
    font-size: 15px;
    min-height: 50px;
    outline: none;
    padding: 10px 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
    width: 100%;
}

.adp-sp-account-form input:focus {
    border-color: var(--adp-cyan);
    box-shadow: 0 0 0 4px rgba(0, 189, 221, .13);
}

.adp-sp-account-check {
    align-items: center;
    display: flex !important;
    font-weight: 500 !important;
    gap: 9px !important;
}

.adp-sp-account-check input {
    min-height: 0;
    width: auto;
}

.adp-sp-account-primary,
.adp-sp-portal-logout {
    align-items: center;
    border: 0;
    border-radius: 13px;
    cursor: pointer;
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    justify-content: center;
    min-height: 50px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.adp-sp-account-primary {
    background: var(--adp-orange);
    color: var(--adp-white);
}

.adp-sp-account-primary:hover {
    box-shadow: 0 12px 26px rgba(252, 144, 18, .24);
    color: var(--adp-white);
    transform: translateY(-1px);
}


.adp-sp-auth-divider {
    align-items: center;
    color: var(--adp-muted);
    display: flex;
    font-size: 13px;
    gap: 12px;
    margin: 20px 0;
}

.adp-sp-auth-divider::before,
.adp-sp-auth-divider::after {
    background: var(--adp-line);
    content: "";
    flex: 1;
    height: 1px;
}

.adp-sp-auth-divider span {
    padding: 0 4px;
}

.adp-sp-google-login {
    align-items: center;
    background: var(--adp-white);
    border: 1px solid var(--adp-line);
    border-radius: 13px;
    color: var(--adp-ink);
    display: flex;
    font-size: 15px;
    font-weight: 700;
    gap: 12px;
    justify-content: center;
    min-height: 50px;
    padding: 10px 16px;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.adp-sp-google-login:hover {
    border-color: var(--adp-cyan);
    box-shadow: 0 12px 26px rgba(0, 189, 221, .14);
    color: var(--adp-ink);
    transform: translateY(-1px);
}

.adp-sp-google-mark {
    align-items: center;
    background: conic-gradient(
        from -45deg,
        #4285f4 0 25%,
        #34a853 0 50%,
        #fbbc05 0 75%,
        #ea4335 0
    );
    border-radius: 50%;
    color: var(--adp-white);
    display: inline-flex;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 800;
    height: 26px;
    justify-content: center;
    width: 26px;
}

.adp-sp-account-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    margin-top: 22px;
}

.adp-sp-account-links.single {
    justify-content: center;
}

.adp-sp-account-links a {
    color: #008aa2;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.adp-sp-honeypot {
    left: -10000px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
}

.adp-sp-portal-app {
    display: grid;
    gap: 18px;
}

.adp-sp-portal-toolbar {
    align-items: center;
    background: var(--adp-white);
    border: 1px solid var(--adp-line);
    border-radius: 22px;
    box-shadow: 0 16px 44px rgba(23, 32, 51, .07);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding: 20px 24px;
}

.adp-sp-portal-heading {
    min-width: 0;
}

.adp-sp-portal-heading h1 {
    font-size: clamp(24px, 3vw, 34px);
    margin-top: 10px;
}

.adp-sp-portal-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.adp-sp-portal-account {
    background: var(--adp-soft);
    border: 1px solid var(--adp-line);
    border-radius: 12px;
    color: var(--adp-muted);
    font-size: 13px;
    padding: 10px 12px;
}

.adp-sp-portal-logout {
    background: var(--adp-cyan);
    color: var(--adp-white);
    min-height: 42px;
    padding: 0 18px;
}

.adp-sp-portal-logout:hover {
    box-shadow: 0 10px 22px rgba(0, 189, 221, .22);
    color: var(--adp-white);
    transform: translateY(-1px);
}

.adp-sp-frame-shell {
    background: var(--adp-white);
    border: 1px solid var(--adp-line);
    border-radius: 22px;
    box-shadow: 0 16px 44px rgba(23, 32, 51, .07);
    overflow: hidden;
}

#adpSpWorkspaceFrame {
    background: var(--adp-white);
    border: 0;
    display: block;
    min-height: 760px;
    width: 100%;
}

@media (max-width: 960px) {
    .adp-sp-account-shell {
        grid-template-columns: 1fr;
    }

    .adp-sp-account-visual {
        min-height: 420px;
    }

    .adp-sp-portal-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .adp-sp-portal-actions {
        justify-content: flex-start;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .adp-sp-site-portal {
        padding: 14px 10px 28px;
    }

    .adp-sp-account-visual,
    .adp-sp-account-card,
    .adp-sp-portal-toolbar,
    .adp-sp-frame-shell {
        border-radius: 18px;
    }

    .adp-sp-account-visual {
        min-height: 330px;
        padding: 32px 24px;
    }

    .adp-sp-account-card {
        padding: 28px 20px;
    }

    .adp-sp-account-links {
        align-items: flex-start;
        flex-direction: column;
    }

    .adp-sp-portal-account,
    .adp-sp-portal-logout {
        width: 100%;
    }

    #adpSpWorkspaceFrame {
        min-height: 720px;
    }
}
