.ult-page,
.ult-ticket-page {
    background: #f6f8fc;
}

.ult-container,
.ticket-container {
    width: min(calc(100% - 40px), 1160px);
    margin: 0 auto;
}

.ult-page {
    padding: 55px 0 65px;
}

.ult-header {
    max-width: 720px;
    margin-bottom: 32px;
}

.ult-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 13px;

    border-radius: 100px;

    background: #eaf2ff;
    color: #0d4da8;

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

.ult-header h1 {
    margin: 17px 0 11px;

    color: #092c62;

    font-size: clamp(32px, 4vw, 45px);
    line-height: 1.12;
}

.ult-header p {
    margin: 0;

    color: #627089;

    font-size: 15px;
    line-height: 1.7;
}

.ult-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        300px;

    gap: 28px;

    align-items: start;
}

.ult-form-card,
.side-card,
.ult-check-card,
.conversation-card,
.ticket-info-card,
.rating-card,
.rating-done {
    background: #fff;

    border: 1px solid #e3e8f0;
    border-radius: 15px;

    box-shadow:
        0 10px 32px
        rgba(7, 39, 83, .06);
}

.ult-form-card {
    padding: 30px;
}

.form-section-title {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 22px;
}

.form-section-title > span {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #0d4da8;
    color: #fff;

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

.form-section-title strong,
.form-section-title small {
    display: block;
}

.form-section-title strong {
    color: #102e5f;

    font-size: 16px;
}

.form-section-title small {
    margin-top: 3px;

    color: #78859a;

    font-size: 12px;
}

.form-grid {
    display: grid;

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

    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: #243c62;

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

.form-group label em {
    color: #dc3c3c;

    font-style: normal;
}

.form-group input,
.form-group select,
.form-group textarea,
.conversation-form textarea,
.rating-card textarea {
    width: 100%;

    border: 1px solid #d8e0eb;
    border-radius: 9px;

    outline: none;

    background: #fff;
    color: #173159;

    font-family: inherit;
    font-size: 14px;

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

.form-group input,
.form-group select {
    height: 48px;

    padding: 0 14px;
}

.form-group textarea,
.conversation-form textarea,
.rating-card textarea {
    padding: 13px 14px;

    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.conversation-form textarea:focus,
.rating-card textarea:focus {
    border-color: #2c68bd;

    box-shadow:
        0 0 0 3px
        rgba(26, 89, 178, .09);
}

.form-divider {
    height: 1px;

    margin: 10px 0 25px;

    background: #e9edf3;
}

.ult-submit-row {
    display: flex;

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

    gap: 20px;

    margin-top: 5px;
}

.ult-submit-row p {
    margin: 0;

    color: #748198;

    font-size: 12px;
}

.ult-submit-row p i {
    margin-right: 5px;

    color: #0d4da8;
}

.ult-submit,
.rating-submit {
    border: 0;
    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #165ab8,
            #083f97
        );

    color: #fff;

    font-family: inherit;
    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}

.ult-submit {
    min-height: 46px;

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

    gap: 12px;

    padding: 0 21px;

    font-size: 14px;
}

.ult-submit:hover,
.rating-submit:hover {
    transform: translateY(-1px);
}

.full-button {
    width: 100%;
}


/* SIDE */

.ult-side {
    display: grid;
    gap: 18px;
}

.side-card {
    padding: 25px;
}

.side-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border-radius: 13px;

    background: #eaf2ff;
    color: #0b4ca8;

    font-size: 20px;
}

.side-card h3 {
    margin: 0 0 9px;

    color: #102f60;

    font-size: 18px;
}

.side-card p {
    margin: 0 0 18px;

    color: #68778d;

    font-size: 13px;
    line-height: 1.6;
}

.side-card a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px 14px;

    border-radius: 7px;

    background: #edf4ff;
    color: #0b4ca8;

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

.side-note {
    display: flex;

    gap: 13px;

    padding: 19px;

    border: 1px solid #dce4f0;
    border-radius: 13px;

    background: #fff;
}

.side-note > i {
    margin-top: 2px;

    color: #0d4da8;
}

.side-note strong,
.side-note span,
.side-note b {
    display: block;
}

.side-note strong {
    color: #17365f;

    font-size: 13px;
}

.side-note span {
    margin: 5px 0 2px;

    color: #78859a;

    font-size: 12px;
}

.side-note b {
    color: #17365f;

    font-size: 13px;
}


/* ALERT */

.ult-alert {
    margin-bottom: 20px;

    padding: 13px 15px;

    border-radius: 8px;

    font-size: 13px;
    line-height: 1.5;
}

.ult-alert ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.ult-alert.error {
    border: 1px solid #ffd4d4;

    background: #fff2f2;
    color: #a32828;
}

.ult-alert.success {
    border: 1px solid #ccebd8;

    background: #effbf3;
    color: #247344;
}


/* CHECK */

.ult-check-page {
    min-height: 650px;
}

.ult-check-container {
    width: min(calc(100% - 30px), 480px);

    margin: 0 auto;
}

.back-link {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 18px;

    color: #52657f;

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

.ult-check-card {
    padding: 33px;
}

.check-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border-radius: 15px;

    background: #eaf2ff;
    color: #0d4da8;

    font-size: 23px;
}

.ult-check-card h1 {
    margin: 0 0 9px;

    color: #0d3269;

    font-size: 27px;
}

.ult-check-card > p {
    margin: 0 0 24px;

    color: #738097;

    font-size: 13px;
    line-height: 1.6;
}


/* TICKET */

.ult-ticket-page {
    padding: 38px 0 58px;
}

.ticket-success {
    display: flex;

    gap: 18px;

    margin-bottom: 25px;

    padding: 24px;

    border: 1px solid #cce9d7;
    border-radius: 14px;

    background: #f1fbf5;
}

.success-icon {
    color: #239157;

    font-size: 29px;
}

.success-content > span {
    color: #278054;

    font-size: 12px;
    font-weight: 750;
}

.success-content h2 {
    margin: 5px 0 7px;

    color: #194a34;

    font-size: 20px;
}

.success-content > p {
    margin: 0;

    color: #537462;

    font-size: 13px;
}

.ticket-credentials {
    display: flex;

    gap: 12px;

    margin-top: 17px;
}

.ticket-credentials > div {
    min-width: 180px;

    padding: 11px 14px;

    border: 1px dashed #82bea0;
    border-radius: 8px;

    background: #fff;
}

.ticket-credentials small,
.ticket-credentials strong {
    display: block;
}

.ticket-credentials small {
    margin-bottom: 3px;

    color: #73877b;

    font-size: 10px;
    text-transform: uppercase;
}

.ticket-credentials strong {
    color: #164a32;

    font-size: 17px;
    letter-spacing: .4px;
}

.credential-warning {
    margin-top: 13px;

    color: #795c1e;

    font-size: 12px;
}

.credential-warning i {
    margin-right: 5px;
}

.ticket-top {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 23px;
}

.ticket-label {
    display: block;

    color: #7c889a;

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.ticket-top h1 {
    margin: 4px 0;

    color: #0a2f66;

    font-size: 29px;
}

.ticket-top p {
    margin: 0;

    color: #6d7990;

    font-size: 14px;
}

.ticket-status {
    flex: 0 0 auto;

    padding: 8px 13px;

    border-radius: 100px;

    font-size: 12px;
    font-weight: 750;
}

.status-baru {
    background: #edf4ff;
    color: #175ab5;
}

.status-diproses {
    background: #fff6da;
    color: #9c6b00;
}

.status-selesai {
    background: #e9f8ee;
    color: #21804a;
}

.ticket-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        300px;

    gap: 25px;

    align-items: start;
}

.conversation-card {
    overflow: hidden;
}

.conversation-header {
    display: flex;

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

    padding: 19px 22px;

    border-bottom: 1px solid #e7ebf2;
}

.conversation-header h2 {
    margin: 0 0 2px;

    color: #123566;

    font-size: 17px;
}

.conversation-header span {
    color: #8994a5;

    font-size: 11px;
}

.conversation-header > i {
    color: #0d4da8;

    font-size: 21px;
}

.conversation-body {
    min-height: 330px;
    max-height: 590px;

    overflow-y: auto;

    padding: 22px;

    background: #f8fafe;
}

.message-row {
    display: flex;

    margin-bottom: 16px;
}

.message-user {
    justify-content: flex-end;
}

.message-admin {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 78%;

    padding: 11px 14px;

    border-radius: 12px;
}

.message-user .message-bubble {
    border-bottom-right-radius: 3px;

    background: #0d4da8;
    color: #fff;
}

.message-admin .message-bubble {
    border: 1px solid #dce3ee;
    border-bottom-left-radius: 3px;

    background: #fff;
    color: #263d5e;
}

.message-author {
    margin-bottom: 5px;

    font-size: 10px;
    font-weight: 750;
}

.message-text {
    font-size: 13px;
    line-height: 1.55;
}

.message-time {
    margin-top: 6px;

    opacity: .7;

    font-size: 9px;
}

.conversation-form {
    display: grid;

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

    gap: 10px;

    padding: 16px;

    border-top: 1px solid #e7ebf2;

    background: #fff;
}

.conversation-form textarea {
    min-height: 54px;
}

.conversation-form button {
    min-width: 92px;

    border: 0;
    border-radius: 8px;

    background: #0d4da8;
    color: #fff;

    font-family: inherit;
    font-weight: 700;

    cursor: pointer;
}

.conversation-form button i {
    margin-left: 5px;
}

.conversation-closed {
    padding: 17px;

    border-top: 1px solid #e4e9f0;

    background: #f3faf5;
    color: #34734e;

    text-align: center;

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

.conversation-closed i {
    margin-right: 6px;
}

.ticket-sidebar {
    display: grid;

    gap: 18px;
}

.ticket-info-card {
    padding: 21px;
}

.ticket-info-card h3 {
    margin: 0 0 16px;

    color: #173866;

    font-size: 15px;
}

.ticket-info-card dl {
    margin: 0;
}

.ticket-info-card dl div {
    padding: 11px 0;

    border-bottom: 1px solid #edf0f4;
}

.ticket-info-card dl div:first-child {
    padding-top: 0;
}

.ticket-info-card dl div:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.ticket-info-card dt {
    margin-bottom: 3px;

    color: #8a95a5;

    font-size: 10px;
    text-transform: uppercase;
}

.ticket-info-card dd {
    margin: 0;

    color: #243d62;

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


/* RATING */

.rating-card {
    padding: 21px;
}

.rating-card h3 {
    margin: 0 0 6px;

    color: #173866;

    font-size: 16px;
}

.rating-card > p {
    margin: 0 0 15px;

    color: #78859a;

    font-size: 12px;
    line-height: 1.5;
}

.rating-options {
    display: grid;

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

    gap: 5px;

    margin-bottom: 12px;
}

.rating-options input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}

.rating-options span {
    display: flex;

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

    gap: 3px;

    padding: 8px 4px;

    border: 1px solid #dce3ed;
    border-radius: 7px;

    color: #a1a8b4;

    font-size: 10px;

    cursor: pointer;
}

.rating-options input:checked + span {
    border-color: #e4a31a;

    background: #fff8e4;
    color: #dc9400;
}

.rating-card textarea {
    margin-bottom: 10px;
}

.rating-submit {
    width: 100%;

    min-height: 41px;
}

.rating-done {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 18px;
}

.rating-done > i {
    color: #e5a313;

    font-size: 23px;
}

.rating-done strong,
.rating-done span {
    display: block;
}

.rating-done strong {
    color: #173866;
}

.rating-done span {
    margin-top: 2px;

    color: #7c8799;

    font-size: 11px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .ult-layout,
    .ticket-layout {
        grid-template-columns: 1fr;
    }

    .ult-side,
    .ticket-sidebar {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {

    .ult-container,
    .ticket-container {
        width: min(calc(100% - 26px), 1160px);
    }

    .ult-page {
        padding: 34px 0 44px;
    }

    .ult-header {
        margin-bottom: 24px;
    }

    .ult-header h1 {
        font-size: 31px;
    }

    .ult-form-card,
    .ult-check-card {
        padding: 21px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ult-submit-row {
        flex-direction: column;
        align-items: stretch;
    }

    .ult-submit {
        width: 100%;
    }

    .ult-side,
    .ticket-sidebar {
        grid-template-columns: 1fr;
    }

    .ticket-success {
        flex-direction: column;
    }

    .ticket-credentials {
        flex-direction: column;
    }

    .ticket-credentials > div {
        min-width: 0;
    }

    .ticket-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .conversation-body {
        min-height: 300px;

        padding: 14px;
    }

    .message-bubble {
        max-width: 89%;
    }

    .conversation-form {
        grid-template-columns: 1fr;
    }

    .conversation-form button {
        min-height: 43px;
    }
}

.forgot-ticket-link {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 18px;

    color: #526a8c;

    font-size: 12px;
    font-weight: 650;
}

.forgot-ticket-link:hover {
    color: #0d4da8;
}

.recovered-ticket {
    margin-top: 18px;

    padding: 18px;

    border: 1px solid #dbe4ef;
    border-radius: 10px;

    background: #f8faff;
}

.recovered-ticket > small,
.recovered-ticket > strong,
.recovered-ticket > span {
    display: block;
}

.recovered-ticket > small {
    margin-bottom: 4px;

    color: #8290a4;

    font-size: 10px;

    text-transform: uppercase;
}

.recovered-ticket > strong {
    color: #0d3d82;

    font-size: 19px;
}

.recovered-ticket > span {
    margin-top: 5px;

    color: #65748a;

    font-size: 12px;
}

.recovered-pin {
    margin: 15px 0;

    padding: 12px;

    border: 1px dashed #78ae91;
    border-radius: 8px;

    background: #f1fbf5;
}

.recovered-pin small,
.recovered-pin b {
    display: block;
}

.recovered-pin small {
    color: #6f887b;

    font-size: 10px;

    text-transform: uppercase;
}

.recovered-pin b {
    margin-top: 3px;

    color: #17613b;

    font-size: 21px;

    letter-spacing: 1px;
}