/* =====================================================
   CZORS SUPPORT
===================================================== */

.czors-support-page {
    width: 100%;
    min-height: 100vh;
    padding: 32px 20px 80px;
    color: #fff;
}

.czors-support-form-card {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}


/* =====================================================
   HEADER
===================================================== */

.czors-support-form-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 30px;
}

.czors-support-form-header h1 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
}

.czors-support-form-header p {
    margin: 0;
    color: #999;
    font-size: 14px;
}

.czors-support-back {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    background: #1d1d1d;

    border: 1px solid #303030;
    border-radius: 12px;

    text-decoration: none;
}

.czors-support-back svg {
    width: 19px;
    height: 19px;
}


/* =====================================================
   FIELDS
===================================================== */

.czors-support-field {
    margin-bottom: 26px;
}

.czors-support-field > label {
    display: block;
    margin-bottom: 10px;

    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.czors-support-field > label > span {
    color: #ffa629;
}

.czors-support-field label small {
    margin-left: 5px;
    color: #777;
    font-weight: 400;
}

.czors-support-field input[type="text"],
.czors-support-field select,
.czors-support-field textarea {

    width: 100%;

    padding: 14px 15px;

    color: #fff;
    background: #191919;

    border: 1px solid #343434;
    border-radius: 10px;

    font-size: 14px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.czors-support-field textarea {
    resize: vertical;
    min-height: 150px;
}

.czors-support-field input:focus,
.czors-support-field select:focus,
.czors-support-field textarea:focus {

    border-color: #ffa629;

    box-shadow:
        0 0 0 3px rgba(255, 166, 41, .10);
}

.czors-support-field select {
    appearance: auto;
}

.czors-support-help {
    display: block;
    margin-top: 7px;

    color: #777;
    font-size: 12px;
}


/* =====================================================
   CATEGORIES
===================================================== */

.czors-support-categories {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 10px;
}

.czors-category-option {
    cursor: pointer;
}

.czors-category-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.czors-category-card {

    min-height: 92px;

    padding: 15px 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 8px;

    color: #aaa;
    background: #191919;

    border: 1px solid #303030;
    border-radius: 12px;

    text-align: center;

    font-size: 12px;
    font-weight: 600;

    transition: .2s ease;
}

.czors-category-card svg {
    width: 22px;
    height: 22px;
}

.czors-category-option:hover
.czors-category-card {

    border-color: #555;
    color: #fff;
}

.czors-category-option input:checked
+ .czors-category-card {

    color: #ffa629;

    border-color: #ffa629;

    background:
        rgba(255, 166, 41, .08);
}


/* =====================================================
   UPLOAD
===================================================== */

.czors-support-upload {

    padding: 28px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 6px;

    background: #191919;

    border:
        1px dashed #444;

    border-radius: 12px;

    text-align: center;
}

.czors-support-upload svg {

    width: 27px;
    height: 27px;

    color: #ffa629;

    margin-bottom: 5px;
}

.czors-support-upload strong {
    color: #ddd;
    font-size: 13px;
}

.czors-support-upload span,
.czors-support-upload small {
    color: #777;
    font-size: 11px;
}


/* =====================================================
   PRIVACY
===================================================== */

.czors-support-privacy {

    display: flex;
    gap: 10px;
    align-items: flex-start;

    padding: 14px;

    margin-bottom: 25px;

    background:
        rgba(255, 166, 41, .05);

    border:
        1px solid rgba(255, 166, 41, .15);

    border-radius: 10px;
}

.czors-support-privacy svg {

    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    color: #ffa629;
}

.czors-support-privacy p {

    margin: 0;

    color: #999;

    font-size: 12px;
    line-height: 1.6;
}


/* =====================================================
   ACTIONS
===================================================== */

.czors-support-actions {

    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 10px;
}

.czors-support-cancel,
.czors-support-submit {

    min-height: 44px;

    padding: 0 20px;

    border-radius: 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;
}

.czors-support-cancel {

    color: #ccc;

    background: #1c1c1c;

    border: 1px solid #343434;
}

.czors-support-submit {

    color: #111;

    background: #ffa629;

    border: 1px solid #ffa629;
}

.czors-support-submit svg {

    width: 16px;
    height: 16px;
}

.czors-support-submit:disabled {

    opacity: .55;

    cursor: not-allowed;
}


/* =====================================================
   MESSAGES
===================================================== */

.czors-ticket-success {

    display: flex;
    gap: 12px;

    padding: 16px;

    margin-bottom: 25px;

    background:
        rgba(39, 174, 96, .08);

    border:
        1px solid rgba(39, 174, 96, .25);

    border-radius: 12px;
}

.czors-ticket-success[hidden] {
    display: none;
}

.czors-ticket-success-icon {
    color: #36c875;
}

.czors-ticket-success-icon svg {
    width: 22px;
    height: 22px;
}

.czors-ticket-success strong {
    display: block;
    color: #fff;
    font-size: 13px;
}

.czors-ticket-success p {
    margin: 4px 0 0;
    color: #aaa;
    font-size: 12px;
}

#czors-created-ticket-number {
    color: #ffa629;
    font-weight: 700;
}

.czors-ticket-error {

    padding: 13px 15px;
    margin-bottom: 20px;

    color: #ff8585;

    background:
        rgba(255, 70, 70, .08);

    border:
        1px solid rgba(255, 70, 70, .20);

    border-radius: 10px;

    font-size: 13px;
}

.czors-ticket-error[hidden] {
    display: none;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .czors-support-page {
        padding:
            20px 16px
            100px;
    }

    .czors-support-form-header {
        margin-bottom: 24px;
    }

    .czors-support-form-header h1 {
        font-size: 21px;
    }

    .czors-support-form-header p {
        font-size: 12px;
        line-height: 1.5;
    }

    .czors-support-back {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .czors-support-categories {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .czors-category-card {
        min-height: 86px;
    }

    .czors-support-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .czors-support-cancel,
    .czors-support-submit {
        width: 100%;
    }
}
.czors-support-upload {
    cursor: pointer;
}

.czors-support-upload:hover {
    border-color: #ffa629;
    background: rgba(255, 166, 41, .04);
}

.czors-selected-files {
    margin-top: 10px;

    display: flex;
    flex-direction: column;
    gap: 7px;
}

.czors-selected-files[hidden] {
    display: none;
}

.czors-selected-file {
    padding: 10px 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    background: #191919;

    border: 1px solid #303030;
    border-radius: 8px;
}

.czors-selected-file span {
    color: #ddd;
    font-size: 12px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.czors-selected-file small {
    flex-shrink: 0;

    color: #777;
    font-size: 11px;
}
/* =====================================================
   MY SUPPORT TICKETS
===================================================== */

.czors-tickets-dashboard {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 20px 90px;
    color: #fff;
}


/* TOPBAR */

.czors-tickets-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.czors-tickets-back,
.czors-new-ticket-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 44px;
    padding: 0 16px;

    border-radius: 11px;

    font-size: 13px;
    font-weight: 650;

    text-decoration: none;
}

.czors-tickets-back {
    color: #ddd;
    background: #191919;
    border: 1px solid #303030;
}

.czors-new-ticket-button {
    color: #111;
    background: #ffa629;
    border: 1px solid #ffa629;
}

.czors-tickets-back svg,
.czors-new-ticket-button svg {
    width: 18px;
    height: 18px;
}


/* SUMMARY */

.czors-tickets-summary {
    padding: 28px;

    background: #151515;

    border: 1px solid #303030;
    border-radius: 18px;

    margin-bottom: 24px;
}

.czors-tickets-summary-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    margin-bottom: 26px;
}

.czors-tickets-summary-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffa629;

    background:
        rgba(255, 166, 41, .10);

    border: 1px solid
        rgba(255, 166, 41, .18);

    border-radius: 13px;
}

.czors-tickets-summary-icon svg {
    width: 22px;
    height: 22px;
}

.czors-tickets-summary h1 {
    margin: 0 0 5px;

    color: #fff;

    font-size: 26px;
    line-height: 1.2;
    font-weight: 750;
}

.czors-tickets-summary p {
    margin: 0;

    color: #888;

    font-size: 13px;
}


/* STATS */

.czors-ticket-stats {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 10px;
}

.czors-ticket-stat {
    padding: 16px;

    background: #1b1b1b;

    border: 1px solid #303030;
    border-radius: 12px;
}

.czors-ticket-stat strong {
    display: block;

    margin-bottom: 5px;

    color: #fff;

    font-size: 24px;
    line-height: 1;
}

.czors-ticket-stat span {
    color: #777;

    font-size: 10px;
    font-weight: 750;
    letter-spacing: .7px;
}

.czors-ticket-stat.is-open strong {
    color: #ffa629;
}

.czors-ticket-stat.is-in-progress strong {
    color: #e9c46a;
}
.czors-ticket-stat.is-resolved strong {
    color: #43c985;
}


/* SEARCH */

.czors-ticket-search {
    position: relative;

    margin-bottom: 14px;
}

.czors-ticket-search svg {
    position: absolute;

    left: 16px;
    top: 50%;

    width: 19px;
    height: 19px;

    color: #777;

    transform:
        translateY(-50%);

    pointer-events: none;
}

.czors-ticket-search input {
    width: 100%;
    height: 50px;

    padding:
        0 16px
        0 46px;

    color: #fff;
    background: #171717;

    border: 1px solid #303030;
    border-radius: 11px;

    outline: none;

    font-size: 13px;
}

.czors-ticket-search input:focus {
    border-color: #ffa629;

    box-shadow:
        0 0 0 3px
        rgba(255, 166, 41, .08);
}


/* FILTERS */

.czors-ticket-filters {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    padding: 5px;

    margin-bottom: 18px;

    background: #171717;

    border: 1px solid #292929;
    border-radius: 11px;
}

.czors-ticket-filter {
    height: 40px;

    color: #777;
    background: transparent;

    border: 0;
    border-radius: 8px;

    font-size: 12px;
    font-weight: 650;

    cursor: pointer;
}

.czors-ticket-filter:hover {
    color: #ddd;
}

.czors-ticket-filter.active {
    color: #111;
    background: #ffa629;
}


/* TICKET CARDS */

.czors-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.czors-ticket-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 18px 20px;

    background: #171717;

    border: 1px solid #303030;
    border-radius: 13px;

    transition:
        border-color .2s ease,
        transform .2s ease,
        background .2s ease;
}

.czors-ticket-card:hover {
    border-color: #4a4a4a;
    background: #1a1a1a;

    transform:
        translateY(-1px);
}

.czors-ticket-card-main {
    min-width: 0;
    flex: 1;
}

.czors-ticket-meta {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 7px;
}

.czors-ticket-number {
    color: #ffa629;

    font-size: 10px;
    font-weight: 750;
    letter-spacing: .4px;
}

.czors-ticket-status {
    padding: 4px 8px;

    border-radius: 999px;

    font-size: 9px;
    font-weight: 750;

    text-transform: uppercase;
}

.czors-ticket-status.status-open {
    color: #ffa629;

    background:
        rgba(255, 166, 41, .10);
}

.czors-ticket-status.status-in_progress {
    color: #e9c46a;

    background:
        rgba(233, 196, 106, .10);
}

.czors-ticket-status.status-resolved {
    color: #43c985;

    background:
        rgba(67, 201, 133, .10);
}

.czors-ticket-status.status-closed {
    color: #999;

    background:
        rgba(150, 150, 150, .10);
}

.czors-ticket-card h3 {
    margin: 0 0 8px;

    color: #eee;

    font-size: 15px;
    font-weight: 650;
}

.czors-ticket-card-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;

    color: #777;

    font-size: 11px;
}

.czors-ticket-dot {
    color: #444;
}

.czors-ticket-card-arrow {
    flex: 0 0 auto;

    color: #666;
}

.czors-ticket-card-arrow svg {
    width: 19px;
    height: 19px;
}


/* EMPTY STATE */

.czors-ticket-empty {
    min-height: 300px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 35px 20px;

    text-align: center;

    background: #151515;

    border: 1px solid #303030;
    border-radius: 14px;
}

.czors-ticket-empty[hidden] {
    display: none;
}

.czors-ticket-empty-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    color: #777;

    background: #1d1d1d;

    border-radius: 50%;
}

.czors-ticket-empty-icon svg {
    width: 25px;
    height: 25px;
}

.czors-ticket-empty h3 {
    margin: 0 0 6px;

    color: #eee;

    font-size: 16px;
}

.czors-ticket-empty p {
    margin: 0 0 18px;

    color: #777;

    font-size: 12px;
}

.czors-ticket-empty-button {
    min-height: 42px;

    padding: 0 16px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #111;
    background: #ffa629;

    border-radius: 9px;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}

.czors-ticket-empty-button svg {
    width: 16px;
    height: 16px;
}


/* =====================================================
   MOBILE SUPPORT DASHBOARD
===================================================== */

@media (max-width: 767px) {

    .czors-tickets-dashboard {
        padding:
            20px 15px
            100px;
    }

    .czors-tickets-topbar {
        margin-bottom: 20px;
    }

    .czors-tickets-back span {
        display: none;
    }

    .czors-tickets-back {
        width: 42px;
        padding: 0;
    }

    .czors-new-ticket-button {
        min-height: 42px;
        padding: 0 14px;
    }


    .czors-tickets-summary {
        padding: 20px 16px;
    }

    .czors-tickets-summary-heading {
        margin-bottom: 20px;
    }

    .czors-tickets-summary-icon {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
    }

    .czors-tickets-summary h1 {
        font-size: 21px;
    }

    .czors-tickets-summary p {
        font-size: 12px;
        line-height: 1.45;
    }


    .czors-ticket-stats {
        gap: 7px;
    }

    .czors-ticket-stat {
        padding: 13px 10px;
    }

    .czors-ticket-stat strong {
        font-size: 20px;
    }

    .czors-ticket-stat span {
        font-size: 8px;
        letter-spacing: .3px;
    }


    .czors-ticket-search input {
        height: 48px;
    }


    .czors-ticket-filters {
        gap: 3px;
    }

    .czors-ticket-filter {
        padding: 0 4px;
        font-size: 11px;
    }


    .czors-ticket-card {
        padding: 16px;
    }

    .czors-ticket-card h3 {
        font-size: 14px;
    }

    .czors-ticket-card-footer {
        font-size: 10px;
    }
}
.czors-ticket-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
/* =====================================================
   SUPPORT TICKET DETAILS
===================================================== */

.czors-ticket-details-page {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    padding: 32px 20px 100px;
    color: #fff;
}


/* TOP */

.czors-ticket-details-topbar {
    margin-bottom: 20px;
}

.czors-ticket-details-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    min-height: 42px;
    padding: 0 14px;

    color: #ccc;
    background: #191919;

    border: 1px solid #303030;
    border-radius: 10px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 650;
}

.czors-ticket-details-back svg {
    width: 17px;
    height: 17px;
}


/* HEADER */

.czors-ticket-details-header {
    padding: 24px;

    margin-bottom: 18px;

    background: #151515;

    border: 1px solid #303030;
    border-radius: 15px;
}

.czors-ticket-details-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.czors-ticket-details-number {
    display: block;

    margin-bottom: 8px;

    color: #ffa629;

    font-size: 11px;
    font-weight: 750;
}

.czors-ticket-details-heading h1 {
    margin: 0;

    color: #fff;

    font-size: 25px;
    font-weight: 750;
}

.czors-ticket-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 18px;

    color: #777;

    font-size: 11px;
}

.czors-ticket-details-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.czors-ticket-details-meta svg {
    width: 14px;
    height: 14px;
}


/* =====================================================
   CONVERSATION
===================================================== */

.czors-ticket-conversation {
    padding: 26px;

    background: #151515;

    border: 1px solid #303030;
    border-radius: 15px;
}


/* Conversation heading */

.czors-ticket-conversation-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 18px;
    margin-bottom: 24px;

    border-bottom: 1px solid #292929;
}

.czors-ticket-conversation-title h2 {
    margin: 0 0 4px;

    color: #fff;

    font-size: 18px;
    font-weight: 700;
}

.czors-ticket-conversation-title p {
    margin: 0;

    color: #777;

    font-size: 11px;
}

.czors-ticket-conversation-title > svg {
    width: 21px;
    height: 21px;

    color: #ffa629;
}


/* =====================================================
   MESSAGE THREAD
===================================================== */

.czors-ticket-messages {
    display: flex;
    flex-direction: column;

    gap: 18px;
}


/* Base message bubble */

.czors-ticket-message {
    width: fit-content;
    max-width: 68%;

    padding: 13px 15px;

    border-radius: 14px;
}


/* CUSTOMER */

.czors-ticket-message.is-customer {
    align-self: flex-end;

    background:
        rgba(255, 166, 41, .08);

    border:
        1px solid rgba(255, 166, 41, .22);

    border-bottom-right-radius: 5px;
}


/* CZORS SUPPORT */

.czors-ticket-message.is-support {
    align-self: flex-start;

    background: #1d1d1d;

    border: 1px solid #333;

    border-bottom-left-radius: 5px;
}


/* =====================================================
   MESSAGE HEADER
===================================================== */

.czors-ticket-message-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 7px;
}
/* MESSAGE SENDER */

.czors-ticket-message-sender {
    display: flex;
    align-items: center;
    gap: 8px;
}

.czors-ticket-message-avatar {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 50%;
}

.czors-ticket-message-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.czors-ticket-message-avatar svg {
    width: 13px;
    height: 13px;
}


/* CUSTOMER */

.czors-ticket-message-avatar.is-customer-avatar {
    background: #262626;

    border: 1px solid
        rgba(255, 166, 41, .45);
}


/* CZORS SUPPORT */

.czors-ticket-message-avatar.is-support-avatar {
    color: #111;

    background: #ffa629;
}
.czors-ticket-message-head strong {
    color: #eee;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.czors-ticket-message.is-customer
.czors-ticket-message-head strong {
    color: #f2c27c;
}

.czors-ticket-message.is-support
.czors-ticket-message-head strong {
    color: #fff;
}

.czors-ticket-message-head span {
    flex-shrink: 0;

    color: #666;

    font-size: 8px;
}


/* =====================================================
   MESSAGE BODY
===================================================== */

.czors-ticket-message-body {
    color: #d2d2d2;

    font-size: 13px;
    line-height: 1.55;

    overflow-wrap: anywhere;
}

.czors-ticket-message-body p {
    margin: 0;
}


/* =====================================================
   ATTACHMENTS
===================================================== */

.czors-ticket-message-attachments {
    display: flex;
    flex-direction: column;

    gap: 6px;

    margin-top: 11px;
}

.czors-ticket-attachment {
    width: 100%;
    max-width: 390px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 9px 11px;

    color: #ddd;

    background:
        rgba(0, 0, 0, .20);

    border: 1px solid #383838;
    border-radius: 9px;

    text-decoration: none;

    transition:
        border-color .2s ease,
        background .2s ease;
}

.czors-ticket-attachment:hover {
    color: #fff;

    background:
        rgba(0, 0, 0, .32);

    border-color:
        rgba(255, 166, 41, .35);
}

.czors-ticket-attachment > svg {
    width: 16px;
    height: 16px;

    flex-shrink: 0;

    color: #ffa629;
}

.czors-ticket-attachment > svg:last-child {
    margin-left: auto;

    color: #777;
}

.czors-ticket-attachment span {
    min-width: 0;
    flex: 1;
}

.czors-ticket-attachment strong {
    display: block;

    max-width: 300px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #ddd;

    font-size: 10px;
    font-weight: 650;
}

.czors-ticket-attachment small {
    display: block;

    margin-top: 2px;

    color: #666;

    font-size: 8px;
}


/* =====================================================
   MOBILE CONVERSATION
===================================================== */

@media (max-width: 767px) {

    .czors-ticket-conversation {
        padding: 16px 13px;
    }

    .czors-ticket-conversation-title {
        margin-bottom: 18px;
        padding-bottom: 15px;
    }

    .czors-ticket-messages {
        gap: 14px;
    }

    .czors-ticket-message {
        max-width: 88%;

        padding: 11px 12px;

        border-radius: 12px;
    }

    .czors-ticket-message.is-customer {
        border-bottom-right-radius: 4px;
    }

    .czors-ticket-message.is-support {
        border-bottom-left-radius: 4px;
    }

    .czors-ticket-message-head {
        gap: 10px;

        margin-bottom: 6px;
    }

    .czors-ticket-message-head strong {
        font-size: 9px;
    }

    .czors-ticket-message-head span {
        font-size: 7px;
    }

    .czors-ticket-message-body {
        font-size: 12px;
        line-height: 1.5;
    }

    .czors-ticket-attachment {
        max-width: 100%;
    }
}

/* =====================================================
   REPLY COMPOSER
===================================================== */

.czors-ticket-reply-section {
    margin-top: 18px;

    padding: 22px;

    background: #151515;

    border: 1px solid #303030;
    border-radius: 15px;
}

.czors-ticket-reply-heading {
    margin-bottom: 14px;
}

.czors-ticket-reply-heading h2 {
    margin: 0 0 4px;

    color: #fff;

    font-size: 16px;
    font-weight: 700;
}

.czors-ticket-reply-heading p {
    margin: 0;

    color: #777;

    font-size: 11px;
}

.czors-ticket-reply-form textarea {
    width: 100%;
    min-height: 100px;

    padding: 14px;

    color: #fff;
    background: #1a1a1a;

    border: 1px solid #353535;
    border-radius: 10px;

    resize: vertical;

    outline: none;

    font-size: 13px;
}

.czors-ticket-reply-form textarea:focus {
    border-color: #ffa629;

    box-shadow:
        0 0 0 3px
        rgba(255, 166, 41, .08);
}

.czors-ticket-reply-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: 12px;
}

.czors-ticket-reply-attach {
    min-height: 42px;

    padding: 0 13px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #bbb;
    background: #1b1b1b;

    border: 1px solid #343434;
    border-radius: 9px;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        border-color .2s ease,
        color .2s ease,
        background .2s ease;
}

.czors-ticket-reply-attach:hover {
    color: #fff;

    border-color:
        rgba(255, 166, 41, .45);

    background:
        rgba(255, 166, 41, .05);
}

.czors-ticket-reply-attach svg {
    width: 16px;
    height: 16px;

    color: #ffa629;
}

.czors-ticket-reply-files {
    margin-top: 10px;

    display: flex;
    flex-direction: column;
    gap: 6px;
}

.czors-ticket-reply-files[hidden] {
    display: none;
}

.czors-ticket-reply-file {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 9px 11px;

    color: #ccc;
    background: #191919;

    border: 1px solid #303030;
    border-radius: 8px;

    font-size: 11px;
}

.czors-ticket-reply-file small {
    color: #777;

    font-size: 9px;
}

@media (max-width: 767px) {

    .czors-ticket-reply-section {
        padding: 16px;
    }

    .czors-ticket-reply-actions {
        align-items: stretch;
    }

    .czors-ticket-reply-attach,
    .czors-ticket-reply-actions
    .czors-support-submit {
        min-height: 42px;
    }
}
/* =====================================================
   TICKET STATUS NOTICE
===================================================== */

.czors-ticket-status-notice {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-top: 18px;
    padding: 15px 16px;

    border-radius: 12px;
}


/* ICON */

.czors-ticket-status-notice-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
}

.czors-ticket-status-notice-icon svg {
    width: 16px;
    height: 16px;
}


/* TEXT */

.czors-ticket-status-notice strong {
    display: block;

    margin-bottom: 3px;

    color: #fff;

    font-size: 12px;
    font-weight: 700;
}

.czors-ticket-status-notice p {
    max-width: 650px;

    margin: 0;

    color: #999;

    font-size: 11px;
    line-height: 1.55;
}


/* RESOLVED */

.czors-ticket-status-notice.is-resolved {
    background:
        rgba(70, 180, 100, .06);

    border:
        1px solid rgba(70, 180, 100, .20);
}

.czors-ticket-status-notice.is-resolved
.czors-ticket-status-notice-icon {
    color: #72c98b;

    background:
        rgba(70, 180, 100, .12);
}


/* CLOSED */

.czors-ticket-status-notice.is-closed {
    background: #171717;

    border: 1px solid #303030;
}

.czors-ticket-status-notice.is-closed
.czors-ticket-status-notice-icon {
    color: #888;

    background: #242424;
}


/* MOBILE */

@media (max-width: 767px) {

    .czors-ticket-status-notice {
        padding: 13px;
    }

    .czors-ticket-status-notice p {
        font-size: 10px;
    }
}
/* ERROR */

.czors-ticket-details-error {
    max-width: 700px;

    margin: 40px auto;

    padding: 30px;

    text-align: center;

    color: #fff;
    background: #151515;

    border: 1px solid #303030;
    border-radius: 15px;
}

.czors-ticket-details-error a {
    display: inline-block;

    margin-top: 15px;

    color: #ffa629;
}


/* MOBILE */

@media (max-width: 767px) {

    .czors-ticket-details-page {
        padding:
            18px 14px
            100px;
    }

    .czors-ticket-details-back span {
        display: none;
    }

    .czors-ticket-details-back {
        width: 42px;
        padding: 0;
        justify-content: center;
    }

    .czors-ticket-details-header {
        padding: 18px;
    }

    .czors-ticket-details-heading h1 {
        font-size: 20px;
    }

    .czors-ticket-details-heading {
        gap: 10px;
    }

    .czors-ticket-conversation {
        padding: 16px;
    }

   
    .czors-ticket-message-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .czors-ticket-reply-section {
        padding: 16px;
    }
}
/* =====================================================
   CONVERSATION MESSAGE GROUPING
===================================================== */

/*
 * First message from a sender.
 */
.czors-ticket-message.is-group-start {
    margin-top: 20px;
}


/*
 * Consecutive message from same sender.
 */
.czors-ticket-message.is-grouped {
    margin-top: 6px;
}


/*
 * Don't create a large gap above
 * the first conversation message.
 */
.czors-ticket-message:first-child {
    margin-top: 0;
}


/* -----------------------------------------------------
   GROUPED TIMESTAMP
----------------------------------------------------- */

.czors-ticket-message-grouped-time {
    margin-top: 7px;

    color: #666;

    font-size: 9px;
    line-height: 1;
}


/*
 * Customer timestamp follows the
 * right-aligned customer bubble.
 */
.czors-ticket-message.is-customer
.czors-ticket-message-grouped-time {
    text-align: right;
}


/*
 * Support timestamp stays left.
 */
.czors-ticket-message.is-support
.czors-ticket-message-grouped-time {
    text-align: left;
}


/* -----------------------------------------------------
   VISUAL CONNECTION BETWEEN BUBBLES
----------------------------------------------------- */

.czors-ticket-message.is-grouped.is-customer {
    border-top-right-radius: 7px;
}


.czors-ticket-message.is-grouped.is-support {
    border-top-left-radius: 7px;
}


/* -----------------------------------------------------
   MOBILE
----------------------------------------------------- */

@media (max-width: 767px) {

    .czors-ticket-message.is-group-start {
        margin-top: 16px;
    }

    .czors-ticket-message.is-grouped {
        margin-top: 5px;
    }

    .czors-ticket-message-grouped-time {
        margin-top: 6px;

        font-size: 8px;
    }
}
/* =====================================================
   EXPIRED CONVERSATION
===================================================== */

.czors-conversation-expired {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    margin-top: 14px;
    padding: 16px;

    background: #171717;
    border: 1px solid #303030;
    border-radius: 12px;
}

.czors-conversation-expired-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #242424;
    border-radius: 50%;

    color: #888;
}

.czors-conversation-expired-icon svg {
    width: 16px;
    height: 16px;
}

.czors-conversation-expired-content strong {
    display: block;

    margin-bottom: 4px;

    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.czors-conversation-expired-content p {
    margin: 0 0 5px;

    color: #999;
    font-size: 11px;
    line-height: 1.55;
}

.czors-conversation-expired-content span {
    color: #666;
    font-size: 9px;
}


/* EMPTY CONVERSATION */

.czors-conversation-empty {
    padding: 24px 16px;

    text-align: center;

    color: #777;
}

.czors-conversation-empty svg {
    width: 20px;
    height: 20px;

    margin-bottom: 6px;
}

.czors-conversation-empty p {
    margin: 0;

    font-size: 11px;
}


@media (max-width: 767px) {

    .czors-conversation-expired {
        padding: 13px;
    }

    .czors-conversation-expired-content p {
        font-size: 10px;
    }
}