* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #202124;
}


/* ============================================================
   LOGIN
   ============================================================ */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 360px;
    background: white;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.login-card h1 {
    margin: 0;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 28px;
}

label {
    display: block;
    margin-top: 16px;
    margin-bottom: 6px;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 11px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

button {
    width: 100%;
    margin-top: 24px;
    padding: 12px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.error {
    padding: 10px;
    border-radius: 8px;
    background: #ffe5e5;
    margin-bottom: 15px;
    font-size: 14px;
}


/* ============================================================
   TOPBAR
   ============================================================ */

.topbar {
    background: white;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 5px rgba(0,0,0,.08);
}

.topbar h1 {
    margin: 0 0 4px;
}

.topbar span {
    color: #777;
    font-size: 13px;
}

.topbar a {
    text-decoration: none;
}


/* ============================================================
   CONTAINER
   ============================================================ */

.container {
    padding: 30px;
}


/* ============================================================
   DASHBOARD
   ============================================================ */

.bot-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(250px, 1fr)
        );
    gap: 18px;
}

.bot-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow:
        0 3px 12px rgba(0,0,0,.06);
}

.bot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bot-header h3 {
    margin: 0;
}

.status {
    font-size: 12px;
}

.running {
    color: #16833a;
}

.stopped {
    color: #b3261e;
}

.service {
    margin-top: 14px;
    color: #777;
    font-size: 13px;
}


/* ============================================================
   BOT DETAIL
   ============================================================ */

.detail-top {
    margin-bottom: 25px;
}

.back-link {
    display: inline-block;
    margin-bottom: 15px;
    text-decoration: none;
}

.detail-top h2 {
    margin: 0;
    font-size: 28px;
}

.service-name {
    margin-top: 7px;
    color: #777;
    font-size: 13px;
}


.detail-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(180px, 1fr)
        );
    gap: 18px;
}


.info-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow:
        0 3px 12px rgba(0,0,0,.06);
}


.info-label {
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
    font-weight: bold;
}


.big-value {
    font-size: 24px;
    font-weight: bold;
}


.big-status {
    font-size: 20px;
    font-weight: bold;
}


.detail-section {
    margin-top: 30px;
}


.detail-section h2 {
    margin-bottom: 15px;
}


.service-box {
    background: white;
    border-radius: 10px;
    padding: 16px;
    box-shadow:
        0 3px 12px rgba(0,0,0,.06);
    font-family: monospace;
}


/* ============================================================
   BOT CONTROL
   ============================================================ */

.control-panel {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


.control-button {
    width: auto;
    margin-top: 0;
    border: 0;
    border-radius: 8px;
    padding: 11px 18px;
    cursor: pointer;
    font-weight: bold;
    background: white;
    box-shadow:
        0 2px 8px rgba(0,0,0,.08);
}


.control-button:hover {
    transform: translateY(-1px);
}


.start-button {
    color: #16833a;
}


.restart-button {
    color: #8a5a00;
}


.stop-button {
    color: #b3261e;
}


.control-message {
    margin-top: 14px;
    min-height: 20px;
    font-size: 14px;
}


/* ============================================================
   APPS SCRIPT CONFIG
   ============================================================ */

.config-card {
    background: white;
    border-radius: 12px;
    padding: 22px;
    box-shadow:
        0 3px 12px rgba(0,0,0,.06);
}


.config-card label {
    margin-top: 0;
    font-weight: bold;
}


.config-card input {
    margin-top: 6px;
    font-family: monospace;
    font-size: 13px;
}


.config-help {
    margin-top: 10px;
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}


.save-config-button {
    width: auto;
    margin-top: 18px;
    padding: 11px 18px;
    font-weight: bold;
    background: #202124;
    color: white;
}


.save-config-button:hover {
    opacity: .9;
}


.config-message {
    margin-top: 14px;
    min-height: 20px;
    font-size: 14px;
}


.config-updated {
    margin-top: 10px;
    color: #777;
    font-size: 12px;
}


/* ============================================================
   LOGS / ACTIONS
   ============================================================ */

.action-placeholder {
    background: white;
    border-radius: 10px;
    padding: 18px;
    box-shadow:
        0 3px 12px rgba(0,0,0,.06);
}


.refresh-button {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    background: #f4f6f8;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 700px) {

    .topbar {
        padding: 16px;
    }

    .container {
        padding: 18px;
    }

    .control-panel {
        flex-direction: column;
    }

    .control-button {
        width: 100%;
    }

}


/* ============================================================
   SOKER DASHBOARD REDESIGN
   ============================================================ */

.dashboard-page {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(183, 135, 255, .13),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(219, 166, 255, .12),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f8f7ff 0%,
            #f5f6fc 48%,
            #faf7ff 100%
        );
    color: #17143d;
}


/* ============================================================
   TOP HEADER
   ============================================================ */

.dashboard-topbar {
    margin: 14px 16px 0;
    padding: 20px 28px;

    min-height: 130px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 26px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(188, 120, 255, .25),
            transparent 35%
        ),
        linear-gradient(
            110deg,
            #ffffff 0%,
            #ffffff 45%,
            #f1e6ff 72%,
            #dfb9ff 100%
        );

    border: 1px solid rgba(133, 74, 255, .20);

    box-shadow:
        0 12px 35px rgba(99, 54, 180, .12),
        inset 0 1px 0 rgba(255,255,255,.9);

    position: relative;
    overflow: hidden;
}


.dashboard-topbar::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 160px;

    right: 150px;
    top: -100px;

    border-radius: 50%;

    background: rgba(255,255,255,.45);

    transform: rotate(-12deg);

    pointer-events: none;
}


.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 20px;

    position: relative;
    z-index: 1;
}


.brand-icon {
    width: 78px;
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 24px;

    font-size: 42px;

    background:
        linear-gradient(
            145deg,
            #a855f7,
            #6d28d9
        );

    box-shadow:
        0 10px 25px rgba(109,40,217,.30);

    border: 1px solid rgba(255,255,255,.7);
}


.brand-text h1 {
    margin: 0;

    font-size: clamp(26px, 3vw, 42px);

    line-height: 1.1;

    letter-spacing: -1.5px;

    color: #11102f;
}


.brand-text h1 span {
    color: #7527d8;
}


.brand-subtitle {
    margin-top: 9px;

    color: #77728f;

    font-size: 14px;

    font-weight: 600;
}


/* ============================================================
   LOGOUT BUBBLE
   ============================================================ */

.logout-button {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 13px 22px;

    border-radius: 999px;

    text-decoration: none;

    color: white !important;

    font-weight: 700;
    font-size: 14px;

    background:
        linear-gradient(
            135deg,
            #a855f7,
            #6d28d9
        );

    box-shadow:
        0 8px 20px rgba(109,40,217,.25);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.logout-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(109,40,217,.34);
}


.logout-icon {
    font-size: 20px;
}


/* ============================================================
   MAIN CONTAINER
   ============================================================ */

.dashboard-container {
    padding: 38px 28px 30px;
    max-width: 1900px;
    margin: 0 auto;
}


/* ============================================================
   SECTION HEADER
   ============================================================ */

.dashboard-section-header {
    display: flex;
    align-items: center;

    gap: 14px;

    margin: 8px 0 30px;

    position: relative;
}


.section-accent {
    width: 4px;
    height: 58px;

    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            #9b4dff,
            #c98cff
        );

    box-shadow:
        0 0 14px rgba(155,77,255,.30);
}


.section-icon {
    width: 52px;
    height: 52px;

    border-radius: 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 25px;

    color: #7025d4;

    background:
        linear-gradient(
            145deg,
            #f3e7ff,
            #e5d0ff
        );

    box-shadow:
        0 7px 18px rgba(123,54,210,.12);
}


.dashboard-section-header h2 {
    margin: 0;

    font-size: 28px;

    color: #15133b;

    letter-spacing: -.6px;
}


.dashboard-section-header p {
    margin: 5px 0 0;

    color: #7b7690;

    font-size: 14px;

    font-weight: 500;
}


/* ============================================================
   BOT GRID
   ============================================================ */

.dashboard-bot-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px, 1fr)
        );

    gap: 18px;
}


/* ============================================================
   BOT CARD
   ============================================================ */

.dashboard-bot-card {
    position: relative;

    min-height: 265px;

    padding: 24px 20px 19px;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    overflow: hidden;

    text-decoration: none;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(250,247,255,.96)
        );

    border-radius: 24px;

    border: 1px solid rgba(174, 117, 255, .24);

    box-shadow:
        0 10px 28px rgba(82, 42, 150, .10),
        0 2px 6px rgba(82,42,150,.04);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}


.dashboard-bot-card::before {
    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    right: -48px;
    top: -48px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #8b3ff0,
            #d59bff
        );

    transform: rotate(45deg);

    opacity: .9;
}


.dashboard-bot-card:hover {
    transform: translateY(-6px);

    border-color: rgba(132, 66, 238, .45);

    box-shadow:
        0 18px 38px rgba(89, 42, 166, .17),
        0 4px 12px rgba(89,42,166,.08);
}


.bot-card-glow {
    position: absolute;

    width: 130px;
    height: 130px;

    left: -80px;
    bottom: -80px;

    border-radius: 50%;

    background: rgba(171, 103, 255, .12);

    filter: blur(4px);

    pointer-events: none;
}


/* ============================================================
   CARD ICON
   ============================================================ */

.bot-card-icon {
    width: 60px;
    height: 60px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    color: white;

    font-size: 28px;
    font-weight: bold;

    background:
        linear-gradient(
            145deg,
            #a855f7,
            #7227d9
        );

    box-shadow:
        0 9px 22px rgba(119, 39, 218, .28);

    margin-bottom: 17px;

    position: relative;
    z-index: 1;
}


/* ============================================================
   BOT NAME
   ============================================================ */

.dashboard-bot-name {
    width: 100%;

    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 4px;

    font-size: 16px;

    line-height: 1.3;

    font-weight: 800;

    color: #121038;

    text-transform: uppercase;

    position: relative;
    z-index: 1;
}


/* ============================================================
   STATUS BADGE
   ============================================================ */

.dashboard-status-row {
    margin-top: 12px;

    min-height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    z-index: 1;
}


.dashboard-status {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 7px 14px;

    border-radius: 999px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .3px;
}


.dashboard-status.running {
    color: #0c9b4b;

    background:
        linear-gradient(
            135deg,
            #dcfce9,
            #c8f5da
        );

    box-shadow:
        inset 0 0 0 1px rgba(12,155,75,.08);
}


.dashboard-status.stopped {
    color: #c62828;

    background:
        #ffe2e2;
}


.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: currentColor;
}


.dashboard-status.running .status-dot {
    box-shadow:
        0 0 0 4px rgba(12,155,75,.10);
}


/* ============================================================
   CARD DIVIDER
   ============================================================ */

.dashboard-card-divider {
    width: 82%;

    height: 1px;

    margin: 12px 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(143, 67, 235, .28),
            transparent
        );
}


/* ============================================================
   SERVICE
   ============================================================ */

.dashboard-service {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    color: #5d5874;

    font-size: 12px;

    font-weight: 600;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    position: relative;
    z-index: 1;
}


.service-icon {
    color: #7b2ee6;

    font-size: 13px;
}


/* ============================================================
   FOOTER
   ============================================================ */

.dashboard-footer {
    margin-top: 34px;

    padding: 18px 22px;

    min-height: 82px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-radius: 22px;

    background:
        rgba(255,255,255,.80);

    border: 1px solid rgba(166, 104, 244, .15);

    box-shadow:
        0 8px 25px rgba(81, 42, 140, .07);
}


.footer-brand,
.footer-server {
    display: flex;
    align-items: center;

    gap: 12px;
}


.footer-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        #f0e4ff;

    color: #7628d8;

    font-size: 19px;
}


.footer-brand strong,
.footer-server strong {
    display: block;

    color: #4f16a5;

    font-size: 13px;
}


.footer-brand span,
.footer-server span {
    display: block;

    margin-top: 4px;

    color: #817b93;

    font-size: 12px;
}


/* ============================================================
   DESKTOP - 7 CARDS
   ============================================================ */

@media (min-width: 1500px) {

    .dashboard-bot-grid {
        grid-template-columns:
            repeat(7, minmax(0, 1fr));
    }

}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1200px) {

    .dashboard-bot-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 700px) {

    .dashboard-topbar {
        margin: 8px;
        padding: 18px;
        min-height: auto;

        border-radius: 20px;

        align-items: flex-start;

        gap: 16px;
    }


    .dashboard-brand {
        gap: 12px;
    }


    .brand-icon {
        width: 54px;
        height: 54px;

        border-radius: 17px;

        font-size: 28px;
    }


    .brand-text h1 {
        font-size: 22px;
        letter-spacing: -.6px;
    }


    .brand-subtitle {
        font-size: 11px;
    }


    .logout-button {
        padding: 10px 14px;
        font-size: 12px;
    }


    .logout-icon {
        font-size: 16px;
    }


    .dashboard-container {
        padding: 24px 14px;
    }


    .dashboard-section-header {
        margin-bottom: 22px;
    }


    .section-icon {
        width: 44px;
        height: 44px;
    }


    .dashboard-section-header h2 {
        font-size: 23px;
    }


    .dashboard-section-header p {
        font-size: 12px;
    }


    .dashboard-bot-grid {
        grid-template-columns:
            repeat(1, minmax(0, 1fr));

        gap: 14px;
    }


    .dashboard-bot-card {
        min-height: 245px;
    }


    .dashboard-footer {
        flex-direction: column;
        align-items: flex-start;
    }

}




/* ============================================================
   SOKER DETAIL PAGE REDESIGN
   ============================================================ */


/* ============================================================
   DETAIL TOPBAR
   ============================================================ */

.topbar {
    margin: 14px 16px 0;

    padding: 18px 28px;

    min-height: 82px;

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(190, 125, 255, .20),
            transparent 34%
        ),
        linear-gradient(
            110deg,
            #ffffff 0%,
            #ffffff 50%,
            #f3e8ff 100%
        );

    border: 1px solid rgba(132, 70, 230, .15);

    box-shadow:
        0 10px 30px rgba(80, 40, 150, .09);

    position: relative;

    overflow: hidden;
}


.topbar h1 {
    font-size: 28px;

    letter-spacing: -.8px;

    color: #171337;
}


.soker-brand-word {
    color: #7527d8;
}


.topbar span {
    color: #77728c;
}


.topbar a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 11px 20px;

    border-radius: 999px;

    color: white !important;

    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            #a855f7,
            #6d28d9
        );

    box-shadow:
        0 7px 18px rgba(109,40,217,.22);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.topbar a:hover {
    transform: translateY(-2px);

    box-shadow:
        0 11px 25px rgba(109,40,217,.32);
}


/* ============================================================
   DETAIL BODY
   ============================================================ */

body {
    background:
        radial-gradient(
            circle at 5% 20%,
            rgba(184, 120, 255, .08),
            transparent 30%
        ),
        radial-gradient(
            circle at 95% 70%,
            rgba(205, 155, 255, .08),
            transparent 30%
        ),
        #f5f6fa;
}


/* ============================================================
   DETAIL CONTAINER
   ============================================================ */

.container {
    max-width: 1900px;

    margin: 0 auto;

    padding: 34px 28px 40px;
}


/* ============================================================
   DETAIL TOP
   ============================================================ */

.detail-top {
    position: relative;

    margin-bottom: 30px;

    padding: 10px 4px 0;
}


.back-link {
    display: inline-flex;

    align-items: center;

    padding: 9px 15px;

    margin-bottom: 18px;

    border-radius: 999px;

    text-decoration: none;

    color: #6d28d9;

    background: rgba(255,255,255,.75);

    border: 1px solid rgba(129, 63, 220, .13);

    box-shadow:
        0 4px 12px rgba(80,40,150,.06);

    font-size: 13px;

    font-weight: 600;
}


.detail-top h2 {
    margin: 0;

    font-size: clamp(28px, 4vw, 40px);

    letter-spacing: -1.2px;

    color: #171337;
}


.service-name {
    display: inline-block;

    margin-top: 9px;

    padding: 6px 12px;

    border-radius: 999px;

    color: #756f88;

    background: #eee9f8;

    font-size: 12px;

    font-weight: 600;
}


/* ============================================================
   INFO CARDS
   ============================================================ */

.detail-grid {
    display: grid;

    grid-template-columns:
        repeat(
            5,
            minmax(0, 1fr)
        );

    gap: 16px;
}


.info-card {
    position: relative;

    min-height: 116px;

    padding: 20px 21px;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(250,248,255,.97)
        );

    border: 1px solid rgba(145, 83, 225, .13);

    box-shadow:
        0 9px 25px rgba(75, 37, 140, .08);

    overflow: hidden;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.info-card::after {
    content: "";

    position: absolute;

    width: 75px;
    height: 75px;

    right: -35px;
    top: -35px;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            rgba(168,85,247,.18),
            rgba(109,40,217,.04)
        );

    transform: rotate(45deg);
}


.info-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 30px rgba(75,37,140,.12);
}


.info-label {
    color: #817b91;

    font-size: 11px;

    letter-spacing: .5px;

    text-transform: uppercase;

    font-weight: 800;

    margin-bottom: 10px;
}


.big-value {
    color: #171337;

    font-size: 25px;

    font-weight: 800;

    letter-spacing: -.4px;
}


.big-status {
    font-size: 20px;

    font-weight: 800;
}


.big-status.running {
    color: #0a9b4b;
}


/* ============================================================
   DETAIL SECTIONS
   ============================================================ */

.detail-section {
    margin-top: 34px;
}


.detail-section h2 {
    display: flex;

    align-items: center;

    gap: 10px;

    margin: 0 0 16px;

    color: #171337;

    font-size: 24px;

    letter-spacing: -.5px;
}


.detail-section h2::before {
    content: "";

    display: block;

    width: 4px;
    height: 27px;

    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            #a855f7,
            #7025d4
        );

    box-shadow:
        0 0 12px rgba(168,85,247,.25);
}


/* ============================================================
   CONTROL PANEL
   ============================================================ */

.control-panel {
    padding: 20px;

    border-radius: 22px;

    background:
        rgba(255,255,255,.84);

    border: 1px solid rgba(143, 78, 225, .13);

    box-shadow:
        0 8px 25px rgba(75,37,140,.07);

    gap: 11px;
}


.control-button {
    min-width: 105px;

    padding: 12px 18px;

    border-radius: 999px;

    border: 1px solid rgba(120,70,190,.10);

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8f5fd
        );

    box-shadow:
        0 5px 14px rgba(70,35,130,.09);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.control-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 9px 20px rgba(70,35,130,.14);
}


.start-button {
    color: #078b43;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #eafff2
        );
}


.restart-button {
    color: #996000;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fff8e8
        );
}


.stop-button {
    color: #c62828;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fff0f0
        );
}


.relogin-button {
    color: #7025d4;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f3e8ff
        );
}


.control-message {
    margin-top: 14px;

    padding: 0 4px;

    min-height: 22px;

    color: #655f76;

    font-size: 13px;
}


/* ============================================================
   CONFIG CARD
   ============================================================ */

.config-card {
    padding: 24px;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(250,248,255,.97)
        );

    border: 1px solid rgba(143,78,225,.13);

    box-shadow:
        0 9px 27px rgba(75,37,140,.08);
}


.config-card label {
    color: #3c3653;

    font-size: 13px;

    font-weight: 800;
}


.config-card input {
    height: 46px;

    margin-top: 8px;

    border-radius: 13px;

    border: 1px solid #ddd4eb;

    background: #fbfaff;

    color: #403b55;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.config-card input:focus {
    border-color: #a855f7;

    box-shadow:
        0 0 0 4px rgba(168,85,247,.10);
}


.config-help {
    color: #817b91;

    font-size: 12px;
}


.save-config-button {
    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #8f3de8,
            #6d28d9
        );

    box-shadow:
        0 7px 17px rgba(109,40,217,.20);
}


.save-config-button:hover {
    opacity: 1;

    transform: translateY(-2px);
}


/* ============================================================
   LOGS CARD
   ============================================================ */

.action-placeholder {
    padding: 20px;

    border-radius: 22px;

    background:
        rgba(255,255,255,.90);

    border: 1px solid rgba(143,78,225,.12);

    box-shadow:
        0 8px 24px rgba(75,37,140,.07);
}


.refresh-button {
    padding: 11px 17px;

    border-radius: 999px;

    color: #7025d4;

    background:
        linear-gradient(
            145deg,
            #f7f0ff,
            #eee2ff
        );

    font-weight: 700;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.refresh-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 17px rgba(109,40,217,.13);
}


/* ============================================================
   QRIS RELOGIN PANEL
   ============================================================ */

.relogin-panel {
    margin-top: 18px;

    padding: 24px;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8f1ff
        );

    border: 1px solid rgba(143,78,225,.18);

    box-shadow:
        0 12px 30px rgba(75,37,140,.10);
}


.relogin-panel h3 {
    margin-top: 0;

    color: #4d159f;

    font-size: 21px;
}


.relogin-panel .captcha-label {
    margin-top: 15px;

    margin-bottom: 8px;

    color: #686177;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;
}


.relogin-panel .captcha-image {
    display: block;

    max-width: 100%;

    border-radius: 14px;

    border: 1px solid #d9cce9;

    box-shadow:
        0 5px 15px rgba(50,30,90,.10);

    margin-bottom: 10px;
}


.relogin-panel input {
    border-radius: 13px;

    border: 1px solid #d8cde7;

    background: white;
}


.relogin-submit-button {
    border-radius: 999px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #9848ee,
            #6d28d9
        );
}


/* ============================================================
   MOBILE DETAIL
   ============================================================ */

@media (max-width: 1100px) {

    .detail-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    .topbar {
        margin: 8px;

        padding: 15px 16px;

        border-radius: 20px;

        gap: 12px;
    }


    .topbar h1 {
        font-size: 21px;
    }


    .topbar span {
        font-size: 11px;
    }


    .topbar a {
        padding: 9px 14px;

        font-size: 12px;
    }


    .container {
        padding: 24px 14px 30px;
    }


    .detail-top h2 {
        font-size: 27px;
    }


    .detail-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }


    .info-card {
        min-height: 105px;

        padding: 16px;
    }


    .big-value {
        font-size: 20px;
    }


    .control-panel {
        padding: 15px;

        gap: 8px;
    }


    .control-button {
        min-width: 0;

        flex: 1;

        padding: 11px 12px;
    }


    .config-card {
        padding: 17px;
    }

}


@media (max-width: 460px) {

    .detail-grid {
        grid-template-columns: 1fr;
    }


    .control-panel {
        flex-direction: column;
    }


    .control-button {
        width: 100%;
    }

}




/* ============================================================
   SOKER PURPLE LOGIN
   ============================================================ */

.soker-login-page {
    min-height: 100vh;
    margin: 0;
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(177, 112, 255, .20),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(156, 82, 255, .16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #fbf9ff 0%,
            #f6f1ff 48%,
            #ffffff 100%
        );

    color: #111936;
}


/* ------------------------------------------------------------
   BACKGROUND DECORATIONS
   ------------------------------------------------------------ */

.login-decoration {
    position: absolute;
    pointer-events: none;
    filter: blur(.2px);
}

.login-decoration-left {
    width: 430px;
    height: 430px;

    left: -210px;
    top: -180px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(167, 91, 255, .24),
            rgba(218, 185, 255, .10)
        );
}

.login-decoration-right {
    width: 480px;
    height: 480px;

    right: -250px;
    bottom: -230px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(184, 114, 255, .12),
            rgba(139, 64, 255, .24)
        );
}


/* ------------------------------------------------------------
   DOT PATTERN
   ------------------------------------------------------------ */

.login-dots {
    position: absolute;

    width: 130px;
    height: 90px;

    opacity: .45;

    background-image:
        radial-gradient(
            #b87aff 2px,
            transparent 2px
        );

    background-size: 24px 22px;
}

.login-dots-left {
    left: 7%;
    top: 30%;
}

.login-dots-right {
    right: 7%;
    bottom: 28%;
}


/* ------------------------------------------------------------
   MAIN WRAPPER
   ------------------------------------------------------------ */

.soker-login-wrapper {
    width: min(460px, calc(100% - 32px));

    position: relative;
    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 35px 0;
}


/* ------------------------------------------------------------
   BRAND
   ------------------------------------------------------------ */

.soker-login-brand {
    text-align: center;
    margin-bottom: 24px;
}

.soker-login-logo {
    width: 76px;
    height: 76px;

    margin: 0 auto 13px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #a84cff,
            #7225db
        );

    box-shadow:
        0 15px 30px rgba(119, 42, 220, .28),
        inset 0 1px 1px rgba(255,255,255,.45);
}

.soker-login-logo span {
    font-size: 39px;

    filter:
        drop-shadow(
            0 4px 5px rgba(0,0,0,.18)
        );
}

.soker-login-brand h1 {
    margin: 0;

    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -1.2px;
    font-weight: 800;
}

.soker-login-brand h1 span {
    color: #7427dc;
}

.soker-login-brand p {
    margin: 9px 0 0;

    color: #68708c;

    font-size: 14px;
    font-weight: 600;
}


/* ------------------------------------------------------------
   LOGIN CARD
   ------------------------------------------------------------ */

.soker-login-card {
    width: 100%;

    position: relative;

    padding: 34px 38px 30px;

    border-radius: 24px;

    background:
        rgba(255,255,255,.92);

    border: 1px solid rgba(166, 105, 255, .20);

    box-shadow:
        0 25px 70px rgba(93, 48, 160, .13),
        0 5px 20px rgba(94, 48, 160, .06);

    backdrop-filter: blur(15px);

    overflow: hidden;
}


/* decorative card corner */

.soker-login-card-corner {
    position: absolute;

    width: 115px;
    height: 115px;

    right: -50px;
    top: -50px;

    border-radius: 0 0 0 80px;

    background:
        linear-gradient(
            135deg,
            rgba(187, 116, 255, .30),
            rgba(127, 48, 230, .08)
        );
}


/* ------------------------------------------------------------
   WELCOME
   ------------------------------------------------------------ */

.soker-welcome-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            #f0ddff,
            #e9d3ff
        );

    color: #7929e2;

    font-size: 22px;

    margin-bottom: 12px;
}

.soker-login-heading {
    margin-bottom: 25px;
}

.soker-login-heading h2 {
    margin: 0;

    font-size: 23px;
    font-weight: 800;
}

.soker-login-heading p {
    margin: 5px 0 0;

    color: #707895;

    font-size: 14px;
}


/* ------------------------------------------------------------
   ERROR
   ------------------------------------------------------------ */

.soker-login-error {
    margin-bottom: 18px;

    padding: 12px 14px;

    border-radius: 12px;

    background: #fff0f2;

    border: 1px solid #ffd1d8;

    color: #bd2440;

    font-size: 13px;
    font-weight: 600;
}


/* ------------------------------------------------------------
   FORM
   ------------------------------------------------------------ */

.soker-login-form label {
    display: block;

    margin: 0 0 8px;

    color: #202743;

    font-size: 13px;
    font-weight: 700;
}

.soker-input-wrap {
    position: relative;

    width: 100%;

    margin-bottom: 18px;
}

.soker-input-wrap input {
    width: 100%;

    height: 50px;

    margin: 0;
    padding: 0 45px 0 48px;

    border-radius: 13px;

    border: 1px solid #dfccff;

    background: #fdfbff;

    color: #171b35;

    font-size: 14px;

    outline: none;

    transition:
        border-color .2s,
        box-shadow .2s,
        background .2s;
}

.soker-input-wrap input::placeholder {
    color: #a39bb8;
}

.soker-input-wrap input:focus {
    border-color: #8b3fe8;

    background: #fff;

    box-shadow:
        0 0 0 4px rgba(139, 63, 232, .10);
}

.soker-input-icon {
    position: absolute;

    left: 16px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 16px;

    z-index: 2;
}

.soker-password-toggle {
    position: absolute;

    right: 9px;
    top: 50%;

    transform: translateY(-50%);

    width: 34px !important;
    height: 34px;

    margin: 0 !important;
    padding: 0 !important;

    border: 0;

    background: transparent;

    color: #6e36c5;

    cursor: pointer;

    box-shadow: none !important;
}


/* ------------------------------------------------------------
   LOGIN BUTTON
   ------------------------------------------------------------ */

.soker-login-button {
    width: 100%;

    height: 51px;

    margin: 5px 0 0;

    border: 0;

    border-radius: 13px;

    background:
        linear-gradient(
            100deg,
            #7d2ce4,
            #9a45f3
        );

    color: white;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: .4px;

    cursor: pointer;

    box-shadow:
        0 12px 25px rgba(123, 42, 222, .25);

    transition:
        transform .2s,
        box-shadow .2s,
        filter .2s;
}

.soker-login-button span {
    margin-right: 7px;
    font-size: 17px;
}

.soker-login-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 30px rgba(123, 42, 222, .32);

    filter: brightness(1.04);
}

.soker-login-button:active {
    transform: translateY(0);
}


/* ------------------------------------------------------------
   SECURE LINE
   ------------------------------------------------------------ */

.soker-secure-line {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 25px;

    color: #777b96;

    font-size: 12px;

    white-space: nowrap;
}

.soker-secure-line span {
    height: 1px;

    flex: 1;

    background:
        linear-gradient(
            90deg,
            transparent,
            #ded1f4
        );
}

.soker-secure-line span:last-child {
    background:
        linear-gradient(
            90deg,
            #ded1f4,
            transparent
        );
}


/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */

.soker-login-footer {
    margin-top: 22px;

    text-align: center;

    color: #858aa1;

    font-size: 11px;

    line-height: 1.7;
}

.soker-login-footer div:first-child {
    color: #6c3abb;

    font-weight: 700;
}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 600px) {

    .soker-login-wrapper {
        width: calc(100% - 24px);

        padding: 24px 0;
    }

    .soker-login-brand h1 {
        font-size: 29px;
    }

    .soker-login-logo {
        width: 68px;
        height: 68px;
    }

    .soker-login-card {
        padding: 27px 22px 25px;

        border-radius: 20px;
    }

    .login-dots-left {
        left: -20px;
    }

    .login-dots-right {
        right: -20px;
    }

}


/* ============================================================
   WELCOME USER BUBBLE
   ============================================================ */

.welcome-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 9px 15px;

    border-radius: 999px;

    background: rgba(124, 58, 237, 0.10);
    border: 1px solid rgba(124, 58, 237, 0.18);

    color: #6d28d9;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;
}

.welcome-user strong {
    color: #5b21b6;
    font-weight: 800;
}

.welcome-icon {
    width: 27px;
    height: 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #8b5cf6,
        #6d28d9
    );

    color: white;
    font-size: 13px;
}


/* ============================================================
   TOPBAR USER AREA
   ============================================================ */

.dashboard-topbar {
    gap: 18px;
}

.dashboard-topbar > .welcome-user {
    margin-left: auto;
}

@media (max-width: 700px) {

    .dashboard-topbar {
        flex-wrap: wrap;
    }

    .welcome-user {
        order: 3;
        width: 100%;
        justify-content: center;
    }

}
