.csocial {
    --csa-primary: #5749e8;
    --csa-ink: #111a2d;
    --csa-muted: #94a3b8;
    --csa-line: #dfe5ed;
    min-height: 100vh;
    margin: -20px;
    color: var(--csa-ink);
    background: #f8fafc;
    font-size: 12px;
}

.csocial *,
.csocial *::before,
.csocial *::after { box-sizing: border-box; }
.csocial [hidden] { display: none !important; }
.csocial button,
.csocial input { font: inherit; }

.csocial-topbar {
    min-height: 82px;
    padding: 15px 27px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--csa-line);
}

.csocial-topbar h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.035em;
}

.csocial-topbar p {
    margin: 4px 0 0;
    color: var(--csa-muted);
    font-size: 10px;
}

.csocial-topbar-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.csocial-search {
    width: 38px;
    height: 38px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #f1f5f9;
    border-radius: 10px;
    transition: width .2s ease;
}

.csocial-search:focus-within { width: 210px; }
.csocial-search iconify-icon {
    width: 38px;
    flex: 0 0 38px;
    color: #718198;
    font-size: 17px;
    text-align: center;
}

.csocial-search input {
    width: 160px;
    padding: 0 10px 0 0;
    color: #334155;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 10px;
}

.csocial-primary-button {
    min-height: 38px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #fff !important;
    background: linear-gradient(135deg, #6658f0, #4f3ee0);
    border: 0;
    border-radius: 10px;
    box-shadow: 0 7px 16px rgba(84, 67, 224, .22);
    text-decoration: none;
    font-size: 10px;
    font-weight: 750;
    cursor: pointer;
}

.csocial-primary-button:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 9px 20px rgba(84, 67, 224, .3);
}

.csocial-primary-button iconify-icon { font-size: 15px; }
.csocial-body {
    width: min(1260px, calc(100% - 54px));
    margin: 0 auto;
    padding: 26px 0 58px;
}

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

.csocial-stats article {
    min-height: 80px;
    padding: 17px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--csa-line);
    border-radius: 14px;
    box-shadow: 0 2px 5px rgba(15, 23, 42, .035);
}

.csocial-stats i {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 10px;
    font-size: 18px;
    font-style: normal;
}

.csocial-stats i.is-green { color: #0db981; background: #e7fbf3; }
.csocial-stats i.is-blue { color: #3975ed; background: #edf3ff; }
.csocial-stats i.is-purple { color: #6859ed; background: #efefff; }
.csocial-stats div { min-width: 0; }
.csocial-stats strong,
.csocial-stats span { display: block; }
.csocial-stats strong { font-size: 20px; line-height: 1.05; }
.csocial-stats span { margin-top: 4px; color: var(--csa-muted); font-size: 9px; font-weight: 600; }

.csocial-results {
    min-height: 27px;
    display: flex;
    align-items: start;
    justify-content: space-between;
    color: #78869a;
    font-size: 9px;
}

.csocial-results strong { color: #435168; }
.csocial-results small { color: #a0acbc; font-size: 8px; }
.csocial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.csocial-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--csa-line);
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(15, 23, 42, .035);
    transition: border-color .18s, box-shadow .18s, transform .18s;
}

.csocial-card:hover {
    border-color: #cdd4df;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .065);
    transform: translateY(-1px);
}

.csocial-card > header {
    min-height: 81px;
    padding: 17px 19px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid #edf1f5;
}

.csocial-platform {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: grid;
    place-items: center;
    color: #64748b;
    background: #eef2f7;
    border-radius: 12px;
    font-size: 24px;
    font-style: normal;
}

.csocial-platform.is-linkedin { color: #176fd2; background: #e7f1ff; }
.csocial-platform.is-instagram { color: #ee4b8a; background: linear-gradient(135deg, #ffe9f3, #fff0dc); }
.csocial-platform.is-facebook { color: #2569e8; background: #eaf0ff; }
.csocial-platform.is-twitter,
.csocial-platform.is-threads,
.csocial-platform.is-tiktok { color: #fff; background: #111a2d; }
.csocial-platform.is-youtube { color: #f23535; background: #ffeded; }
.csocial-platform.is-pinterest { color: #dd2434; background: #ffedef; }
.csocial-card > header > div { min-width: 0; flex: 1; }
.csocial-card-title { display: flex; align-items: center; gap: 8px; }
.csocial-card h2 {
    max-width: 65%;
    margin: 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.csocial-card-title em {
    padding: 3px 7px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #09966a;
    background: #e7fbf2;
    border: 1px solid #c8f1df;
    border-radius: 99px;
    font-size: 7px;
    font-style: normal;
    font-weight: 700;
}

.csocial-card-title em b {
    width: 5px;
    height: 5px;
    background: #10bd83;
    border-radius: 50%;
}

.csocial-card header p {
    margin: 4px 0 0;
    color: var(--csa-muted);
    font-size: 9px;
}

.csocial-icon-button {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #6f7e92;
    background: #f1f5f9;
    border-radius: 9px;
    font-size: 16px;
}

.csocial-icon-button:hover { color: var(--csa-primary); background: #eeefff; }
.csocial-card-body { padding: 18px 19px; }
.csocial-label {
    display: block;
    color: #8fa0b6;
    font-size: 8px;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.csocial-url {
    min-height: 43px;
    margin-top: 8px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #516077;
    background: #f8fafc;
    border: 1px solid #edf1f5;
    border-radius: 9px;
    text-decoration: none;
}

.csocial-url iconify-icon { flex: 0 0 auto; color: #7f8da1; font-size: 15px; }
.csocial-url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.csocial-url:hover { color: var(--csa-primary); border-color: #d8d6fb; background: #fafaff; }
.csocial-meta {
    margin-top: 15px;
    padding-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px 17px;
    color: #8997aa;
    border-top: 1px solid #edf1f5;
    font-size: 8px;
}

.csocial-meta span { display: inline-flex; align-items: center; gap: 5px; }
.csocial-meta iconify-icon { font-size: 13px; }
.csocial-card > footer {
    min-height: 51px;
    padding: 10px 19px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafbfc;
    border-top: 1px solid #edf1f5;
}

.csocial-card footer a,
.csocial-card footer button {
    min-height: 30px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    background: #fff;
    border: 1px solid #dfe5ed;
    border-radius: 8px;
    text-decoration: none;
    font-size: 8px;
    font-weight: 700;
    cursor: pointer;
}

.csocial-card footer form { margin: 0; }
.csocial-card footer button { color: #ef4f5c; border-color: #f0dfe2; }
.csocial-card footer button:hover { background: #fff3f4; border-color: #fac7cc; }

.csocial-empty {
    min-height: 300px;
    padding: 45px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    border: 1px dashed #ccd5e1;
    border-radius: 15px;
}

.csocial-empty > i {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: #7669ed;
    background: #eef0ff;
    border-radius: 17px;
    font-size: 29px;
    font-style: normal;
}

.csocial-empty strong { margin-top: 17px; font-size: 14px; }
.csocial-empty p { margin: 6px 0 16px; color: var(--csa-muted); font-size: 9px; }
.csocial-info-banner {
    min-height: 86px;
    margin-top: 23px;
    padding: 17px 21px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    background: linear-gradient(110deg, #172238, #243149);
    border-radius: 15px;
    box-shadow: 0 9px 22px rgba(16, 25, 43, .15);
}

.csocial-info-banner > i {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .1);
    border-radius: 10px;
    font-size: 20px;
    font-style: normal;
}

.csocial-info-banner > div { min-width: 0; flex: 1; }
.csocial-info-banner strong { font-size: 11px; }
.csocial-info-banner p { max-width: 720px; margin: 4px 0 0; color: #aebbd0; font-size: 8px; line-height: 1.55; }
.csocial-info-banner > span {
    padding: 7px 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #dfe7f4;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 9px;
    font-size: 8px;
    font-weight: 700;
    white-space: nowrap;
}

.csocial-topbar.is-back { min-height: 72px; justify-content: flex-start; }
.csocial-breadcrumb { display: flex; align-items: center; gap: 12px; }
.csocial-breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: #8796aa; text-decoration: none; }
.csocial-breadcrumb a:hover { color: var(--csa-primary); }
.csocial-breadcrumb > span { color: #d5dce5; }
.csocial-breadcrumb strong { font-size: 10px; }
.csocial-new-body {
    width: min(850px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 55px;
}

.csocial-new-heading { display: flex; align-items: center; gap: 13px; }
.csocial-new-heading > i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #6b5bf1, #4939d7);
    border-radius: 13px;
    box-shadow: 0 8px 18px rgba(82, 65, 220, .25);
    font-size: 22px;
    font-style: normal;
}

.csocial-new-heading h1 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.csocial-new-heading p { margin: 4px 0 0; color: var(--csa-muted); font-size: 10px; }
.csocial-steps {
    margin: 28px 0 25px;
    padding: 0;
    display: flex;
    align-items: center;
    list-style: none;
}

.csocial-steps li { display: flex; align-items: center; gap: 10px; color: #9aa8ba; font-size: 9px; font-weight: 650; }
.csocial-steps li:nth-child(even) { min-width: 45px; flex: 1; margin: 0 14px; }
.csocial-steps li > i { width: 100%; height: 2px; background: #e2e8f0; }
.csocial-steps b {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: grid;
    place-items: center;
    background: #e5eaf1;
    border-radius: 50%;
    font-size: 9px;
}

.csocial-steps .is-active { color: var(--csa-primary); }
.csocial-steps .is-active b { color: #fff; background: var(--csa-primary); box-shadow: 0 5px 11px rgba(84, 67, 224, .25); }
.csocial-form {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--csa-line);
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .045);
}

.csocial-form > header {
    min-height: 80px;
    padding: 17px 21px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #edf1f5;
}

.csocial-form > header > i {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    color: #6253e8;
    background: #eef0ff;
    border-radius: 10px;
    font-size: 20px;
    font-style: normal;
}

.csocial-form h2 { margin: 0; font-size: 13px; font-weight: 800; }
.csocial-form header p { margin: 4px 0 0; color: var(--csa-muted); font-size: 8px; }
.csocial-form-body { padding: 23px; display: grid; gap: 19px; }
.csocial-form-body > label { display: grid; color: #536176; font-size: 9px; font-weight: 700; }
.csocial-form-body label > span b { color: #ef4d5c; }
.csocial-form-body label > small { margin-top: 6px; color: #96a3b5; font-size: 8px; font-weight: 450; }
.csocial-form-body label.has-error > small { color: #dc3545; font-weight: 650; }
.csocial-platform-choice {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.csocial-platform-choice legend {
    margin: 0 0 8px;
    padding: 0;
    color: #536176;
    font-size: 9px;
    font-weight: 700;
}

.csocial-platform-choice legend b { color: #ef4d5c; }
.csocial-platform-choice > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.csocial-platform-choice label { min-width: 0; cursor: pointer; }
.csocial-platform-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.csocial-platform-choice label > span {
    min-height: 56px;
    padding: 9px 10px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #536176;
    background: #f8fafc;
    border: 1px solid #dfe5ed;
    border-radius: 10px;
    transition: border-color .16s, background .16s, box-shadow .16s;
}

.csocial-platform-choice label:hover > span { border-color: #bab4f4; background: #fafaff; }
.csocial-platform-choice label > span > i {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: grid;
    place-items: center;
    color: #64748b;
    background: #e9eef4;
    border-radius: 8px;
    font-size: 18px;
    font-style: normal;
}

.csocial-platform-choice label strong {
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.csocial-platform-choice .csocial-platform-check {
    margin-left: auto;
    display: none;
    color: var(--csa-primary);
    font-size: 16px;
}

.csocial-platform-choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(91, 77, 232, .12); }
.csocial-platform-choice input:checked + span {
    color: #5546df;
    background: #f0f1ff;
    border-color: #6c5dec;
    box-shadow: inset 0 0 0 1px #6c5dec;
}

.csocial-platform-choice input:checked + span .csocial-platform-check { display: block; }
.csocial-platform-choice .is-linkedin span > i { color: #176fd2; background: #e7f1ff; }
.csocial-platform-choice .is-instagram span > i { color: #ee4b8a; background: linear-gradient(135deg, #ffe9f3, #fff0dc); }
.csocial-platform-choice .is-facebook span > i { color: #2569e8; background: #eaf0ff; }
.csocial-platform-choice .is-twitter span > i,
.csocial-platform-choice .is-threads span > i,
.csocial-platform-choice .is-tiktok span > i { color: #fff; background: #111a2d; }
.csocial-platform-choice .is-youtube span > i { color: #f23535; background: #ffeded; }
.csocial-platform-choice .is-pinterest span > i { color: #dd2434; background: #ffedef; }
.csocial-platform-choice > small { margin-top: 7px; display: block; color: #96a3b5; font-size: 8px; }
.csocial-platform-choice.has-error > small { color: #dc3545; font-weight: 650; }
.csocial-platform-choice.has-error label > span { border-color: #efb0b6; }
.csocial-input { margin-top: 7px; position: relative; }
.csocial-input > iconify-icon {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #8f9caf;
    font-size: 17px;
    pointer-events: none;
}

.csocial-input input {
    width: 100%;
    height: 43px;
    padding: 0 13px 0 39px;
    color: #344054;
    background: #f8fafc;
    border: 1px solid #dfe5ed;
    border-radius: 10px;
    outline: 0;
    font-size: 10px;
}

.csocial-input input:focus { background: #fff; border-color: #8e83ee; box-shadow: 0 0 0 3px rgba(91, 77, 232, .07); }
.has-error .csocial-input input { border-color: #ef8b94; background: #fffafa; }
.csocial-form-alert {
    padding: 11px 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b73542;
    background: #fff2f3;
    border: 1px solid #ffd2d6;
    border-radius: 10px;
}

.csocial-form-alert > iconify-icon { font-size: 19px; }
.csocial-form-alert strong,
.csocial-form-alert span { display: block; }
.csocial-form-alert strong { font-size: 9px; }
.csocial-form-alert span { margin-top: 2px; font-size: 8px; }
.csocial-preview { padding: 14px; background: #f8fafc; border: 1px solid #e8edf3; border-radius: 11px; }
.csocial-preview > div { margin-top: 9px; display: flex; align-items: center; gap: 11px; }
.csocial-preview > div > i {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    display: grid;
    place-items: center;
    color: #637188;
    background: #e8edf4;
    border-radius: 9px;
    font-size: 19px;
    font-style: normal;
}

.csocial-preview p { min-width: 0; flex: 1; margin: 0; }
.csocial-preview strong,
.csocial-preview p span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.csocial-preview strong { font-size: 10px; }
.csocial-preview p span { margin-top: 3px; color: #93a0b2; font-size: 8px; }
.csocial-preview em { padding: 4px 8px; color: #7062e8; background: #eeefff; border-radius: 99px; font-size: 7px; font-style: normal; font-weight: 700; }
.csocial-form > footer {
    min-height: 62px;
    padding: 12px 23px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    background: #fafbfc;
    border-top: 1px solid #edf1f5;
}

.csocial-form > footer > a:not(.csocial-primary-button) {
    min-height: 38px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    color: #67758a;
    background: #fff;
    border: 1px solid #dfe5ed;
    border-radius: 10px;
    text-decoration: none;
    font-size: 9px;
    font-weight: 700;
}

.csocial-new .csocial-info-banner { background: linear-gradient(110deg, #4437d3, #5d4be8); }
.csocial-new .csocial-info-banner p { color: #d8d4ff; }

@media (max-width: 900px) {
    .csocial-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .csocial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .csocial { margin: -12px; }
    .csocial-topbar { padding: 14px; align-items: flex-start; flex-direction: column; }
    .csocial-topbar-actions { width: 100%; }
    .csocial-search,
    .csocial-search:focus-within { min-width: 0; width: 38px; }
    .csocial-topbar-actions .csocial-primary-button { flex: 1; }
    .csocial-body { width: calc(100% - 24px); padding-top: 15px; }
    .csocial-stats { gap: 9px; }
    .csocial-stats article { min-height: 70px; padding: 12px; gap: 9px; }
    .csocial-card > header { padding: 14px; }
    .csocial-card-body,
    .csocial-card > footer { padding-left: 14px; padding-right: 14px; }
    .csocial-info-banner { align-items: flex-start; flex-wrap: wrap; }
    .csocial-info-banner > div { flex-basis: calc(100% - 55px); }
    .csocial-info-banner > span { margin-left: 53px; }
    .csocial-new-body { width: calc(100% - 24px); padding-top: 22px; }
    .csocial-new-heading { align-items: flex-start; }
    .csocial-new-heading h1 { font-size: 18px; }
    .csocial-steps li span { display: none; }
    .csocial-steps li:nth-child(even) { min-width: 20px; margin: 0 7px; }
    .csocial-form-body { padding: 16px; }
    .csocial-platform-choice > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .csocial-preview > div { flex-wrap: wrap; }
    .csocial-preview em { margin-left: 46px; }
}
