/* =========================================================
   CUSTOM QUESTIONS
   PREMIUM BANK SOAL
   ========================================================= */

.custom-question-page {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 5px 0 40px;
}


/* =========================================================
   HEADER
   ========================================================= */

.custom-question-page-header {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 30px 34px;

    margin-bottom: 20px;

    border-radius: 20px;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #071b35 0%,
            #0b2f5c 48%,
            #1267a7 100%
        );

    box-shadow:
        0 14px 32px rgba(9, 37, 70, .16);
}


.custom-question-page-header::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -110px;
    top: -150px;

    border-radius: 50%;

    background: rgba(255,255,255,.055);
}


.custom-question-page-header::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: 180px;
    bottom: -130px;

    border-radius: 50%;

    background: rgba(60,170,255,.08);
}


.custom-question-header-content {
    position: relative;
    z-index: 2;
}


.custom-question-eyebrow {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 9px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;

    color: #75c4ff;
}


.custom-question-eyebrow-icon {
    width: 25px;
    height: 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: rgba(255,255,255,.12);

    color: #fff;

    font-size: 12px;
}


.custom-question-page-header h1 {
    position: relative;

    margin: 0 0 7px;

    color: #fff;

    font-size: 26px;
    font-weight: 750;

    letter-spacing: -.4px;
}


.custom-question-page-header p {
    margin: 0;

    color: rgba(255,255,255,.72);

    font-size: 12px;
    line-height: 1.6;
}


.custom-question-header-actions {
    position: relative;
    z-index: 3;

    flex-shrink: 0;
}


.custom-question-primary-button {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 18px;

    border-radius: 10px;

    background: #fff;
    color: #123d69;

    text-decoration: none;

    font-size: 12px;
    font-weight: 750;

    box-shadow:
        0 8px 20px rgba(0,0,0,.15);

    transition: .2s ease;
}


.custom-question-primary-button:hover {
    transform: translateY(-2px);

    color: #0a2c4e;

    box-shadow:
        0 11px 25px rgba(0,0,0,.2);
}


.custom-question-button-icon {
    width: 25px;
    height: 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: #e9f4ff;

    color: #1769aa;

    font-size: 15px;
}


/* =========================================================
   FIX ICON FONT AWESOME
   Kalau Font Awesome tidak tersedia,
   icon tetap akan muncul.
   ========================================================= */

.custom-question-page .fa-plus::before {
    content: "+";
}


.custom-question-page .fa-eye::before {
    content: "●";
}


.custom-question-page .fa-pen::before {
    content: "✎";
}


.custom-question-page .fa-layer-group::before {
    content: "▦";
}


.custom-question-page .fa-circle-check::before {
    content: "✓";
}


.custom-question-page .fa-circle-pause::before {
    content: "Ⅱ";
}


.custom-question-page .fa-list-check::before {
    content: "☷";
}


.custom-question-page .fa-list-ul::before {
    content: "☷";
}


.custom-question-page .fa-align-left::before {
    content: "≡";
}


.custom-question-page .fa-sliders::before {
    content: "☷";
}


.custom-question-page .fa-toggle-on::before {
    content: "●";
}


.custom-question-page .fa-calendar::before {
    content: "□";
}


.custom-question-page .fa-building::before {
    content: "▣";
}


.custom-question-page .fa-database::before {
    content: "▤";
}


.custom-question-page .fa-triangle-exclamation::before {
    content: "!";
}


.custom-question-page .fa-solid {
    font-family: Arial, sans-serif !important;
    font-style: normal;
}


/* =========================================================
   STATS
   ========================================================= */

.custom-question-stats {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 20px;
}


.custom-question-stat-card {
    position: relative;

    display: flex;
    align-items: center;

    gap: 14px;

    min-height: 94px;

    padding: 16px 18px;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e4ebf3;

    border-radius: 15px;

    box-shadow:
        0 5px 17px rgba(24,55,90,.055);

    transition: .2s ease;
}


.custom-question-stat-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(24,55,90,.09);
}


.custom-question-stat-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    font-size: 17px;
}


.custom-question-stat-icon.blue {
    color: #1267a7;
    background: #e6f3ff;
}


.custom-question-stat-icon.green {
    color: #11805a;
    background: #e5f8ef;
}


.custom-question-stat-icon.orange {
    color: #bd6814;
    background: #fff1df;
}


.custom-question-stat-icon.purple {
    color: #704bc2;
    background: #eee8ff;
}


.custom-question-stat-content {
    display: flex;
    flex-direction: column;
}


.custom-question-stat-label {
    color: #7d8b9d;

    font-size: 10px;
    font-weight: 650;
}


.custom-question-stat-content strong {
    margin-top: 2px;

    color: #173452;

    font-size: 24px;
    line-height: 1.1;
}


.custom-question-stat-content small {
    margin-top: 3px;

    color: #a2adba;

    font-size: 9px;
}


/* =========================================================
   MAIN CARD
   ========================================================= */

.custom-question-main-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid #e2e9f1;

    border-radius: 18px;

    box-shadow:
        0 7px 23px rgba(25,55,85,.055);
}


.custom-question-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 21px 25px;

    border-bottom: 1px solid #e8edf3;
}


.custom-question-section-label {
    display: block;

    margin-bottom: 3px;

    color: #2b76b2;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.3px;
}


.custom-question-card-header h2 {
    margin: 0;

    color: #193653;

    font-size: 18px;
    font-weight: 750;
}


.custom-question-card-header p {
    margin: 4px 0 0;

    color: #8996a6;

    font-size: 11px;
}


.custom-question-total-badge {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    padding: 7px 11px;

    border-radius: 8px;

    background: #edf6ff;

    color: #21699f;

    font-size: 10px;
    font-weight: 750;
}


/* =========================================================
   QUESTION LIST
   ========================================================= */

.custom-question-list {
    padding: 7px 20px 15px;
}


.custom-question-item {
    display: grid;

    grid-template-columns: 43px minmax(0, 1fr);

    gap: 15px;

    padding: 17px 9px;

    border-bottom: 1px solid #edf1f5;

    transition:
        background .18s ease,
        transform .18s ease;
}


.custom-question-item:last-child {
    border-bottom: 0;
}


.custom-question-item:hover {
    background: #fafdff;

    border-radius: 12px;
}


/* =========================================================
   NUMBER
   ========================================================= */

.custom-question-number {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    font-size: 11px;
    font-weight: 800;
}


.custom-question-number.blue {
    color: #1469a9;
    background: #e5f3ff;
}


.custom-question-number.purple {
    color: #704bc2;
    background: #eee8ff;
}


.custom-question-number.green {
    color: #12805b;
    background: #e5f8ef;
}


.custom-question-number.orange {
    color: #bd6814;
    background: #fff0dd;
}


.custom-question-number.pink {
    color: #c14f79;
    background: #ffedf4;
}


.custom-question-number.cyan {
    color: #12839a;
    background: #e5f8fc;
}


/* =========================================================
   CONTENT
   ========================================================= */

.custom-question-item-content {
    min-width: 0;
}


.custom-question-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 9px;
}


.custom-question-item-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 6px;
}


.custom-question-type,
.custom-question-status {
    display: inline-flex;
    align-items: center;

    gap: 5px;

    min-height: 25px;

    padding: 0 8px;

    border-radius: 6px;

    font-size: 9px;
    font-weight: 750;
}


.custom-question-type.choice {
    color: #1e6da8;
    background: #e8f4ff;
}


.custom-question-type.essay {
    color: #a34d78;
    background: #ffedf5;
}


.custom-question-type.scale {
    color: #714fc0;
    background: #eee9ff;
}


.custom-question-type.yesno {
    color: #14805a;
    background: #e7f8f0;
}


.custom-question-status-active {
    color: #16805b;
    background: #e7f8f0;
}


.custom-question-status-inactive {
    color: #a86b17;
    background: #fff3df;
}


.custom-question-status-dot {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: currentColor;
}


/* =========================================================
   QUESTION TEXT
   ========================================================= */

.custom-question-text {
    padding-right: 15px;

    color: #263e58;

    font-size: 14px;
    font-weight: 650;

    line-height: 1.55;

    word-break: break-word;
}


/* =========================================================
   ACTION
   ========================================================= */

.custom-question-item-actions {
    display: flex;
    align-items: center;

    gap: 6px;

    flex-shrink: 0;
}


.custom-question-detail-button,
.custom-question-edit-button {
    min-height: 29px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    padding: 0 9px;

    border-radius: 7px;

    text-decoration: none;

    font-size: 9px;
    font-weight: 750;

    transition: .18s ease;
}


.custom-question-detail-button {
    color: #236da7;

    background: #edf6ff;
}


.custom-question-detail-button:hover {
    color: #fff;

    background: #236da7;
}


.custom-question-edit-button {
    color: #ae6819;

    background: #fff3e3;
}


.custom-question-edit-button:hover {
    color: #fff;

    background: #bd741e;
}


/* =========================================================
   META
   ========================================================= */

.custom-question-item-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 12px;
}


.custom-question-meta-item {
    display: inline-flex;
    align-items: center;

    gap: 5px;

    color: #8795a5;

    font-size: 9px;
    font-weight: 600;
}


.custom-question-meta-icon {
    width: 19px;
    height: 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 5px;

    font-size: 9px;
}


.custom-question-meta-icon.blue {
    color: #2671ad;
    background: #eaf4ff;
}


.custom-question-meta-icon.purple {
    color: #704fc1;
    background: #f0ebff;
}


.custom-question-meta-icon.green {
    color: #16805b;
    background: #e7f8f0;
}


.custom-question-meta-divider {
    width: 1px;
    height: 14px;

    background: #e1e7ee;
}


/* =========================================================
   EMPTY
   ========================================================= */

.custom-question-empty {
    min-height: 330px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 45px 20px;

    text-align: center;
}


.custom-question-empty-illustration {
    position: relative;

    width: 90px;
    height: 90px;

    margin-bottom: 15px;
}


.custom-question-empty-circle {
    position: absolute;

    border-radius: 50%;
}


.custom-question-empty-circle.blue {
    width: 38px;
    height: 38px;

    right: 2px;
    top: 2px;

    background: #e7f3ff;
}


.custom-question-empty-circle.purple {
    width: 32px;
    height: 32px;

    left: 2px;
    bottom: 2px;

    background: #eee9ff;
}


.custom-question-empty-icon {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%,-50%);

    border-radius: 17px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #1267a7,
            #4592c9
        );

    font-size: 21px;

    box-shadow:
        0 10px 22px rgba(18,103,167,.2);
}


.custom-question-empty h3 {
    margin: 0 0 7px;

    color: #193653;

    font-size: 17px;
}


.custom-question-empty p {
    max-width: 460px;

    margin: 0 0 20px;

    color: #8996a5;

    font-size: 11px;

    line-height: 1.7;
}


.custom-question-empty-button {
    min-height: 38px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 0 14px;

    border-radius: 8px;

    background: #1769aa;
    color: #fff;

    text-decoration: none;

    font-size: 10px;
    font-weight: 750;
}


.custom-question-empty-button:hover {
    color: #fff;

    background: #0f588f;
}


/* =========================================================
   ALERT
   ========================================================= */

.custom-question-alert {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 16px 18px;

    border-radius: 12px;
}


.custom-question-alert.error {
    color: #9b3333;

    background: #fff1f1;

    border: 1px solid #ffd7d7;
}


.custom-question-alert-icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 9px;

    background: #ffe2e2;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .custom-question-stats {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }

}


@media (max-width: 800px) {

    .custom-question-page-header {
        align-items: flex-start;
        flex-direction: column;
    }


    .custom-question-header-actions {
        width: 100%;
    }


    .custom-question-primary-button {
        width: 100%;
    }


    .custom-question-item-top {
        align-items: flex-start;
        flex-direction: column;
    }


    .custom-question-item-actions {
        width: 100%;
    }


    .custom-question-detail-button,
    .custom-question-edit-button {
        flex: 1;
    }

}


@media (max-width: 600px) {

    .custom-question-stats {
        grid-template-columns: 1fr;
    }


    .custom-question-card-header {
        align-items: flex-start;
        flex-direction: column;
    }


    .custom-question-list {
        padding-left: 10px;
        padding-right: 10px;
    }


    .custom-question-item {
        grid-template-columns: 36px minmax(0,1fr);

        gap: 11px;

        padding: 15px 5px;
    }


    .custom-question-number {
        width: 36px;
        height: 36px;
    }


    .custom-question-text {
        font-size: 13px;
    }


    .custom-question-item-meta {
        align-items: flex-start;
        flex-direction: column;
    }
/* =========================================================
   CUSTOM QUESTIONS
   PREMIUM COLORFUL B2B
   ========================================================= */

.custom-question-page {
    width: 100%;
    max-width: 1500px;

    margin: 0 auto;

    padding: 6px 0 45px;

    background: #f5f8fc;
}


/* =========================================================
   HEADER
   ========================================================= */

.custom-question-page-header {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 30px 34px;

    margin-bottom: 20px;

    min-height: 145px;

    overflow: hidden;

    border-radius: 20px;

    background:
        linear-gradient(
            120deg,
            #071c36 0%,
            #0c3768 50%,
            #126db0 100%
        );

    box-shadow:
        0 14px 35px rgba(12, 55, 100, .18);
}


/* decorative circles */

.custom-question-header-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.decoration-one {
    width: 280px;
    height: 280px;

    right: -100px;
    top: -165px;

    background: rgba(255,255,255,.055);
}


.decoration-two {
    width: 190px;
    height: 190px;

    right: 180px;
    bottom: -145px;

    background: rgba(70,190,255,.10);
}


.custom-question-header-content {
    position: relative;

    z-index: 3;
}


.custom-question-eyebrow {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 9px;

    color: #75caff;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.custom-question-eyebrow-icon {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    color: #fff;

    background: rgba(255,255,255,.13);

    font-size: 13px;
}


.custom-question-page-header h1 {
    margin: 0 0 7px;

    color: #fff;

    font-size: 27px;
    font-weight: 750;

    letter-spacing: -.5px;
}


.custom-question-page-header p {
    max-width: 650px;

    margin: 0;

    color: rgba(255,255,255,.73);

    font-size: 12px;

    line-height: 1.65;
}


.custom-question-header-actions {
    position: relative;

    z-index: 5;

    flex-shrink: 0;
}


.custom-question-primary-button {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 18px;

    border-radius: 11px;

    color: #123b65;

    background: #fff;

    text-decoration: none;

    font-size: 12px;
    font-weight: 750;

    box-shadow:
        0 9px 22px rgba(0,0,0,.15);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.custom-question-primary-button:hover {
    color: #0c3155;

    transform: translateY(-2px);

    box-shadow:
        0 13px 28px rgba(0,0,0,.20);
}


.custom-question-button-icon {
    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    color: #1769aa;

    background: #e5f3ff;

    font-size: 17px;
    font-weight: 700;
}


/* =========================================================
   PAGE BACKGROUND
   ========================================================= */

.custom-question-page,
.custom-question-main-card,
.custom-question-stat-card {
    box-sizing: border-box;
}


/* =========================================================
   STATISTICS
   ========================================================= */

.custom-question-stats {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 20px;
}


.custom-question-stat-card {
    position: relative;

    display: flex;
    align-items: center;

    gap: 14px;

    min-height: 98px;

    padding: 17px 19px;

    overflow: hidden;

    border: 1px solid #e4ebf3;

    border-radius: 16px;

    background: #fff;

    box-shadow:
        0 6px 20px rgba(23,55,90,.055);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.custom-question-stat-card::after {
    content: "";

    position: absolute;

    width: 80px;
    height: 80px;

    right: -35px;
    bottom: -40px;

    border-radius: 50%;

    opacity: .35;
}


.custom-question-stat-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 28px rgba(23,55,90,.09);
}


/* blue */

.custom-question-stat-card.stat-blue {
    border-top: 3px solid #2386c8;
}


.custom-question-stat-card.stat-blue::after {
    background: #d9efff;
}


/* green */

.custom-question-stat-card.stat-green {
    border-top: 3px solid #1ca06f;
}


.custom-question-stat-card.stat-green::after {
    background: #d9f6e9;
}


/* orange */

.custom-question-stat-card.stat-orange {
    border-top: 3px solid #e18a2b;
}


.custom-question-stat-card.stat-orange::after {
    background: #ffecd5;
}


/* purple */

.custom-question-stat-card.stat-purple {
    border-top: 3px solid #8060d4;
}


.custom-question-stat-card.stat-purple::after {
    background: #ebe4ff;
}


.custom-question-stat-icon {
    position: relative;

    z-index: 2;

    width: 47px;
    height: 47px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    font-size: 19px;
    font-weight: 700;
}


.stat-blue .custom-question-stat-icon {
    color: #1874b6;

    background: #e4f3ff;
}


.stat-green .custom-question-stat-icon {
    color: #14845d;

    background: #e3f8ef;
}


.stat-orange .custom-question-stat-icon {
    color: #c87519;

    background: #fff0dc;
}


.stat-purple .custom-question-stat-icon {
    color: #7051c5;

    background: #eee8ff;
}


.custom-question-stat-content {
    position: relative;

    z-index: 2;

    display: flex;
    flex-direction: column;
}


.custom-question-stat-label {
    color: #7f8c9d;

    font-size: 10px;
    font-weight: 650;
}


.custom-question-stat-content strong {
    margin-top: 2px;

    color: #173451;

    font-size: 25px;
    font-weight: 750;

    line-height: 1.1;
}


.custom-question-stat-content small {
    margin-top: 4px;

    color: #a1acb9;

    font-size: 9px;
}


/* =========================================================
   MAIN CARD
   ========================================================= */

.custom-question-main-card {
    overflow: hidden;

    border: 1px solid #e1e8f0;

    border-radius: 19px;

    background: #fff;

    box-shadow:
        0 8px 26px rgba(24,55,90,.055);
}


.custom-question-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 22px 25px;

    border-bottom: 1px solid #e7edf3;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdff 100%
        );
}


.custom-question-section-label {
    display: block;

    margin-bottom: 4px;

    color: #347eb7;

    font-size: 9px;
    font-weight: 850;

    letter-spacing: 1.4px;
}


.custom-question-card-header h2 {
    margin: 0;

    color: #193654;

    font-size: 19px;
    font-weight: 750;
}


.custom-question-card-header p {
    margin: 5px 0 0;

    color: #8795a5;

    font-size: 11px;
}


.custom-question-total-badge {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 8px 12px;

    border-radius: 9px;

    color: #236ca4;

    background: #eaf5ff;

    font-size: 10px;
    font-weight: 750;
}


.custom-question-total-icon {
    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;

    color: #fff;

    background: #2a80bd;

    font-size: 10px;
}


/* =========================================================
   LIST
   ========================================================= */

.custom-question-list {
    padding: 9px 19px 18px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdff 100%
        );
}


/* =========================================================
   QUESTION ITEM
   ========================================================= */

.custom-question-item {
    position: relative;

    display: grid;

    grid-template-columns: 46px minmax(0, 1fr);

    gap: 15px;

    min-height: 0;

    margin: 7px 0;

    padding: 17px 17px 17px 19px;

    overflow: hidden;

    border: 1px solid #e5ebf2;

    border-radius: 13px;

    background: #fff;

    box-shadow:
        0 3px 12px rgba(25,55,85,.035);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}


.custom-question-item:hover {
    transform: translateY(-2px);

    border-color: #d6e4f1;

    box-shadow:
        0 10px 24px rgba(25,55,85,.08);
}


/* =========================================================
   COLOR STRIPE
   ========================================================= */

.custom-question-item-stripe {
    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 4px;
}


.question-blue .custom-question-item-stripe {
    background: #2a88ca;
}


.question-purple .custom-question-item-stripe {
    background: #8060d4;
}


.question-green .custom-question-item-stripe {
    background: #22a875;
}


.question-orange .custom-question-item-stripe {
    background: #e39232;
}


.question-pink .custom-question-item-stripe {
    background: #d65b88;
}


.question-cyan .custom-question-item-stripe {
    background: #20a4ba;
}


/* =========================================================
   NUMBER
   ========================================================= */

.custom-question-number {
    position: relative;

    z-index: 2;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 1px;

    border-radius: 11px;

    font-size: 11px;
    font-weight: 850;
}


.custom-question-number.blue {
    color: #166fae;
    background: #e4f3ff;
}


.custom-question-number.purple {
    color: #7051c4;
    background: #eee8ff;
}


.custom-question-number.green {
    color: #13805a;
    background: #e4f8ef;
}


.custom-question-number.orange {
    color: #c27118;
    background: #fff0dc;
}


.custom-question-number.pink {
    color: #c14f79;
    background: #ffedf4;
}


.custom-question-number.cyan {
    color: #14859a;
    background: #e5f8fc;
}


/* =========================================================
   CONTENT
   ========================================================= */

.custom-question-item-content {
    min-width: 0;
}


.custom-question-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 9px;
}


.custom-question-item-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 6px;
}


/* =========================================================
   TYPE
   ========================================================= */

.custom-question-type,
.custom-question-status {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    min-height: 26px;

    padding: 0 9px;

    border-radius: 7px;

    font-size: 9px;
    font-weight: 750;
}


.custom-question-type.choice {
    color: #176ca9;

    background: #e6f4ff;

    border: 1px solid #d7ecfc;
}


.custom-question-type.essay {
    color: #a34d77;

    background: #ffedf5;

    border: 1px solid #f9dce9;
}


.custom-question-type.scale {
    color: #7251c4;

    background: #f0ebff;

    border: 1px solid #e2d9ff;
}


.custom-question-type.yesno {
    color: #14805b;

    background: #e6f8ef;

    border: 1px solid #d5f0e4;
}


.custom-question-type-icon {
    font-size: 11px;
}


/* =========================================================
   STATUS
   ========================================================= */

.custom-question-status-active {
    color: #14805b;

    background: #e9f9f1;

    border: 1px solid #d8f0e5;
}


.custom-question-status-inactive {
    color: #a86b18;

    background: #fff3df;

    border: 1px solid #f9e5c7;
}


.custom-question-status-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: currentColor;
}


/* =========================================================
   QUESTION TEXT
   ========================================================= */

.custom-question-text {
    max-width: 100%;

    padding-right: 12px;

    color: #243d58;

    font-size: 14px;
    font-weight: 650;

    line-height: 1.55;

    word-break: break-word;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.custom-question-item-actions {
    display: flex;
    align-items: center;

    gap: 6px;

    flex-shrink: 0;
}


.custom-question-detail-button,
.custom-question-edit-button {
    min-height: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    padding: 0 10px;

    border-radius: 7px;

    text-decoration: none;

    font-size: 9px;
    font-weight: 750;

    transition:
        transform .18s ease,
        background .18s ease,
        color .18s ease;
}


.custom-question-detail-button {
    color: #236da6;

    background: #eaf5ff;

    border: 1px solid #d9ebf9;
}


.custom-question-detail-button:hover {
    color: #fff;

    background: #2679b5;

    transform: translateY(-1px);
}


.custom-question-edit-button {
    color: #ae6818;

    background: #fff2df;

    border: 1px solid #f8e2c5;
}


.custom-question-edit-button:hover {
    color: #fff;

    background: #c2781f;

    transform: translateY(-1px);
}


.action-icon {
    font-size: 10px;
}


/* =========================================================
   META
   ========================================================= */

.custom-question-item-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 12px;
}


.custom-question-meta-item {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: #8593a3;

    font-size: 9px;
    font-weight: 650;
}


.custom-question-meta-icon {
    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;

    font-size: 9px;
}


.meta-blue {
    color: #2372ad;

    background: #e9f5ff;
}


.meta-purple {
    color: #7353c5;

    background: #f0ebff;
}


.meta-green {
    color: #16815c;

    background: #e7f8f0;
}


.custom-question-meta-divider {
    width: 1px;
    height: 14px;

    background: #e0e7ee;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.custom-question-empty {
    min-height: 350px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 45px 20px;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fafdff
        );
}


.custom-question-empty-visual {
    position: relative;

    width: 95px;
    height: 95px;

    margin-bottom: 15px;
}


.empty-shape {
    position: absolute;

    border-radius: 50%;
}


.empty-blue {
    width: 40px;
    height: 40px;

    right: 0;
    top: 0;

    background: #dff1ff;
}


.empty-purple {
    width: 34px;
    height: 34px;

    left: 0;
    bottom: 4px;

    background: #ece5ff;
}


.empty-green {
    width: 24px;
    height: 24px;

    right: 5px;
    bottom: 3px;

    background: #ddf7eb;
}


.custom-question-empty-icon {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    border-radius: 18px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #176eae,
            #4a9dd3
        );

    font-size: 22px;

    box-shadow:
        0 11px 25px rgba(23,110,174,.22);
}


.custom-question-empty h3 {
    margin: 0 0 7px;

    color: #193654;

    font-size: 18px;
}


.custom-question-empty p {
    max-width: 470px;

    margin: 0 0 21px;

    color: #8795a5;

    font-size: 11px;

    line-height: 1.7;
}


.custom-question-empty-button {
    min-height: 40px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 0 15px;

    border-radius: 9px;

    color: #fff;

    background: #1769aa;

    text-decoration: none;

    font-size: 10px;
    font-weight: 750;

    box-shadow:
        0 7px 17px rgba(23,105,170,.18);

    transition: .2s ease;
}


.custom-question-empty-button:hover {
    color: #fff;

    background: #0e598f;

    transform: translateY(-2px);
}


.custom-question-empty-button span {
    font-size: 17px;
    line-height: 1;
}


/* =========================================================
   ALERT
   ========================================================= */

.custom-question-alert {
    display: flex;
    align-items: center;

    gap: 13px;

    padding: 17px 19px;

    border-radius: 12px;
}


.custom-question-alert-error {
    color: #983636;

    background: #fff0f0;

    border: 1px solid #ffd6d6;
}


.custom-question-alert-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;

    color: #a83333;

    background: #ffe1e1;

    font-weight: 800;
}


.custom-question-alert strong {
    display: block;

    margin-bottom: 2px;

    font-size: 12px;
}


.custom-question-alert span {
    display: block;

    font-size: 10px;

    opacity: .8;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1150px) {

    .custom-question-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 850px) {

    .custom-question-page-header {
        align-items: flex-start;

        flex-direction: column;

        padding: 25px;
    }


    .custom-question-header-actions {
        width: 100%;
    }


    .custom-question-primary-button {
        width: 100%;
    }


    .custom-question-item-top {
        align-items: flex-start;

        flex-direction: column;
    }


    .custom-question-item-actions {
        width: 100%;
    }


    .custom-question-detail-button,
    .custom-question-edit-button {
        flex: 1;
    }

}


@media (max-width: 600px) {

    .custom-question-page {
        padding-top: 0;
    }


    .custom-question-stats {
        grid-template-columns: 1fr;
    }


    .custom-question-card-header {
        align-items: flex-start;

        flex-direction: column;

        padding: 19px;
    }


    .custom-question-list {
        padding: 7px 10px 13px;
    }


    .custom-question-item {
        grid-template-columns: 37px minmax(0,1fr);

        gap: 11px;

        padding: 15px 13px 15px 14px;
    }


    .custom-question-number {
        width: 37px;
        height: 37px;
    }


    .custom-question-text {
        font-size: 13px;
    }


    .custom-question-item-meta {
        align-items: flex-start;

        flex-direction: column;

        gap: 7px;
    }


    .custom-question-meta-divider {
        display: none;
    }

}