.support-page {
    background: #fff;
    padding: 38px 0 48px;
    color: #17334b;
    font-family: PT Sans, sans-serif;
}

.support-shell {
    max-width: 1080px;
    margin: 0 auto;
}

.support-page .big-title {
    color: #17334b;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 28px;
    text-transform: none;
}

.support-panel {
    background: #fff;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.support-panel--thread {
    border: 1px solid #e3e3e3;
    border-radius: 3px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, .04);
    margin-bottom: 16px;
    padding: 24px 28px;
}

.support-intro {
    color: #777;
    font-size: 15px;
    line-height: 1.5;
    margin: -12px 0 26px;
    max-width: 680px;
}

.support-ticket-email {
    margin-bottom: 0;
    margin-top: 12px;
}

.support-order-pill {
    background: rgba(240, 131, 0, .1);
    border-radius: 3px;
    color: #8f4213;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 18px;
    padding: 7px 11px;
}

.support-grid {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 34px 36px;
    align-items: start;
}

.support-form-row {
    display: contents;
}

.support-form-row label {
    color: #17334b;
    font-size: 19px;
    font-weight: 400;
    line-height: 50px;
    margin: 0;
}

.support-required {
    color: #d90000;
    margin-left: 4px;
}

.support-control input,
.support-control select,
.support-control textarea {
    width: 100% !important;
    border: 2px solid #cfcfcf !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #17334b !important;
    font-family: PT Sans, sans-serif !important;
    font-size: 18px !important;
    font-style: normal !important;
    line-height: 24px !important;
    padding: 12px 16px !important;
    box-sizing: border-box !important;
}

.support-control input,
.support-control select {
    height: 50px !important;
}

.support-control input::placeholder,
.support-control textarea::placeholder {
    color: #ababab;
}

.support-control select {
    max-width: 330px;
}

.support-control input:focus,
.support-control select:focus,
.support-control textarea:focus {
    border-color: #61a7ff !important;
    box-shadow: 0 0 8px rgba(36, 133, 255, .55);
}

.support-button {
    background: #f08300;
    border: 0;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: PT Sans, sans-serif;
    font-size: 16px;
    font-weight: 700;
    min-width: 190px;
    padding: 13px 22px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s;
}

.support-button:hover {
    background: #ca7005;
    color: #fff;
}

.support-button--secondary {
    background: #8f8f8f;
}

.support-actions {
    grid-column: 2;
    padding-top: 0;
}

.support-actions--inline {
    align-items: center;
    display: flex;
    gap: 12px;
}

.support-error {
    color: #d90000;
    font-size: 14px;
    margin-top: 6px;
}

.support-status {
    background: #fff7ea;
    border: 1px solid #f6c58d;
    border-radius: 5px;
    color: #7a3f0b;
    margin-bottom: 18px;
    padding: 12px 14px;
}

.support-control textarea {
    min-height: 190px;
    resize: vertical;
}

.support-file-input {
    background: transparent;
    border: 0;
    padding: 0;
    position: relative;
}

.support-file-input input[type=file] {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    opacity: 0;
    overflow: hidden;
}

.support-file-label {
    color: #0b73e8;
    cursor: pointer;
    display: inline-block;
    font-size: 18px;
    line-height: 1.2;
    padding: 0 0 0 24px;
    position: relative;
}

.support-file-label:before {
    content: '+';
    left: 0;
    position: absolute;
}

.support-file-help {
    color: #888;
    font-size: 14px;
    margin-top: 7px;
    padding-left: 24px;
}

.support-file-warning {
    color: #d90000;
    font-size: 14px;
    line-height: 1.4;
    margin-top: 8px;
    padding-left: 24px;
}

.support-file-list {
    color: #555;
    font-size: 14px;
    line-height: 1.4;
    margin-top: 12px;
    padding-left: 24px;
}

.support-file-list span {
    background: #f7f7f7;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: 5px 9px;
}

.support-file-list button {
    background: transparent;
    border: 0;
    color: #8f8f8f;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    margin-left: 8px;
    padding: 0 2px;
    vertical-align: -1px;
}

.support-file-list button:hover,
.support-file-list button:focus {
    color: #d90000;
    outline: none;
}

.support-thread-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.support-badge {
    background: rgba(240, 131, 0, .12);
    border-radius: 3px;
    color: #8f4213;
    font-weight: 700;
    padding: 6px 10px;
    white-space: nowrap;
}

.support-message {
    display: flex;
    gap: 16px;
}

.support-avatar {
    align-items: center;
    background: #f08300;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: 0 0 42px;
    font-weight: 700;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.support-message-body {
    flex: 1;
    font-size: 16px;
    line-height: 1.55;
}

.support-message-meta {
    color: #777;
    margin-bottom: 10px;
}

.support-message-meta strong {
    color: #8f4213;
}

.support-attachments {
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    padding-top: 10px;
}

.support-attachment-preview {
    align-items: center;
    background: #f7f7f7;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    display: flex;
    height: 86px;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
    width: 120px;
}

.support-attachment-preview img,
.support-attachment-preview video {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.support-attachment-preview span {
    color: #f08300;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.support-attachment-preview:hover,
.support-attachment-preview:focus {
    border-color: #f08300;
}

@media only screen and (max-width: 750px) {
    .support-page {
        padding: 28px 0 38px;
    }

    .support-page .big-title {
        font-size: 30px;
        margin-bottom: 28px;
    }

    .support-panel {
        padding: 24px 18px;
    }

    .support-grid {
        display: block;
    }

    .support-form-row {
        display: block;
        margin-bottom: 16px;
    }

    .support-form-row label {
        display: block;
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .support-control input,
    .support-control select,
    .support-control textarea {
        font-size: 18px !important;
        line-height: 24px !important;
        padding: 13px 14px !important;
    }

    .support-control input,
    .support-control select {
        height: 52px !important;
    }

    .support-control textarea {
        min-height: 220px;
    }

    .support-file-label {
        font-size: 20px;
    }

    .support-actions {
        padding-top: 0;
    }

    .support-button {
        width: 100%;
    }

    .support-actions--inline {
        display: block;
    }

    .support-actions--inline .support-button + .support-button {
        margin-top: 10px;
    }

    .support-thread-header {
        display: block;
    }

    .support-badge {
        margin-top: 8px;
        display: inline-block;
    }
}
