@charset "utf-8";

.wheel-order-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 15px 70px;
    font-family: "Pretendard", "Noto Sans KR", sans-serif;
    color: #111;
    box-sizing: border-box;
}

.wheel-order-wrap *,
.wheel-order-wrap *::before,
.wheel-order-wrap *::after {
    box-sizing: border-box;
}


/* header */
.wheel-order-head {
    margin-bottom: 42px;
}

.wheel-order-head .order-label {
    display: block;
    margin-bottom: 12px;
    color: #ff0000;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
}

.wheel-order-head h2 {
    padding: 0;
    margin: 0 0 10px;
    border: 0;
    color: #050505;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1.8px;
}

.wheel-order-head p {
    padding: 0;
    margin: 0;
    color: #777;
    font-size: 16px;
    font-weight: 400;
}


/* row */
.wheel-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.wheel-form-item {
    min-width: 0;
}

.wheel-form-item label,
.wheel-form-full > label,
.wheel-upload > label {
    display: block;
    margin-bottom: 9px;
    color: #111;
    font-size: 14px;
    font-weight: 700;
	text-align:left;
}


/* input */
.wheel-input {
    width: 100%;
    height: 53px;
    padding: 0 13px;
    border: 1px solid #dce0e5;
    border-radius: 6px;
    outline: none;
    background: #fff;
    color: #222;
    font-size: 16px;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}

.wheel-input::placeholder {
    color: #777;
}

.wheel-input:focus {
    border-color: #999;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .035);
}

select.wheel-input {
    cursor: pointer;
}


/* textarea */
.wheel-form-full {
    margin-top: 4px;
    margin-bottom: 16px;
}

.wheel-textarea {
    display: block;
    width: 100%;
    height: 134px;
    padding: 12px 13px;
    resize: vertical;
    border: 1px solid #dce0e5;
    border-radius: 6px;
    outline: none;
    background: #fff;
    color: #222;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
}

.wheel-textarea::placeholder {
    color: #777;
}

.wheel-textarea:focus {
    border-color: #999;
}


/* password */
.wheel-password-info {
    display: flex;
    align-items: center;
    min-height: 53px;
    padding: 0 15px;
    border-radius: 6px;
    background: #f8f8f8;
    color: #777;
    font-size: 13px;
}


/* upload */
.wheel-upload {
    margin: 22px 0;
    padding: 20px;
    border: 1px solid #e1e3e5;
    border-radius: 6px;
    background: #fafafa;
}

.wheel-file-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.wheel-file {
    flex: 1;
    min-height: 43px;
    padding: 8px;
    border: 1px solid #ddd;
    background: #fff;
    font-family: inherit;
}

.current-file {
    color: #777;
    font-size: 13px;
}

.file-delete {
    white-space: nowrap;
    font-size: 13px !important;
    font-weight: 400 !important;
}


/* captcha */
.wheel-captcha {
    margin: 20px 0;
}


/* button */
.wheel-submit {
    display: block;
    width: 100%;
    height: 61px;
    margin-top: 16px;
    border: 0;
    border-radius: 0;
    background: #ff0700;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}

.wheel-submit:hover {
    background: #df0600;
}

.wheel-submit:disabled {
    cursor: wait;
    opacity: .7;
}


/* notice */
.wheel-notice {
    margin-top: 16px;
    color: #8b8b8b;
    font-size: 12px;
    line-height: 1.6;
}


/* mobile */
@media (max-width: 767px) {

    .wheel-order-wrap {
        padding: 30px 15px 50px;
    }

    .wheel-order-head {
        margin-bottom: 30px;
    }

    .wheel-order-head h2 {
        font-size: 30px;
        letter-spacing: -1.3px;
    }

    .wheel-order-head p {
        font-size: 14px;
        line-height: 1.6;
    }

    .wheel-form-row {
        grid-template-columns: 1fr;
        gap: 17px;
        margin-bottom: 17px;
    }

    .wheel-input {
        height: 52px;
        font-size: 15px;
    }

    .wheel-textarea {
        height: 130px;
        font-size: 15px;
    }

    .wheel-submit {
        height: 58px;
    }

    .wheel-file-box {
        display: block;
    }

    .wheel-file {
        width: 100%;
    }

}
/* ========================================
   디자인 파일
======================================== */

.wheel-design-upload {
    position: relative;
}

.wheel-design-file {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.wheel-design-upload-btn {
    display: flex !important;
    align-items: center;
    width: 100%;
    height: 53px;
    padding: 0 15px;
    margin: 0 !important;

    border: 1px solid #dce0e5;
    border-radius: 6px;

    background: #fff;

    color: #777 !important;

    font-size: 15px !important;
    font-weight: 400 !important;

    cursor: pointer;

    transition: border-color .2s;
}

.wheel-design-upload-btn:hover {
    border-color: #888;
}

.wheel-design-upload-btn i {
    margin-right: 10px;
    color: #333;
}

.wheel-field-help {
    margin: 7px 0 0;
    color: #999;
    font-size: 12px;
    line-height: 1.5;
}


/* 디자인 새 이미지 미리보기 */

.wheel-design-preview {
    overflow: hidden;

    width: 120px;
    height: 120px;

    margin-top: 12px;

    border: 1px solid #eee;
    border-radius: 6px;

    background: #f5f5f5;
}

.wheel-design-preview img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* 기존 디자인 */

.wheel-design-current {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 12px;
    padding: 10px;

    border: 1px solid #eee;
    border-radius: 6px;

    background: #fafafa;
}

.wheel-design-current > a {
    display: block;

    overflow: hidden;

    width: 80px;
    height: 80px;

    border-radius: 5px;

    background: #eee;
}

.wheel-design-current img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.wheel-design-current-info {
    display: flex;
    flex-direction: column;
    gap: 9px;

    min-width: 0;

    color: #777;
    font-size: 12px;
}

.wheel-design-current-info > span {
    overflow: hidden;

    max-width: 280px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.wheel-design-current-info label {
    margin: 0 !important;

    font-size: 12px !important;
    font-weight: 400 !important;
}

.wheel-file-disabled {
    display: flex;
    align-items: center;

    min-height: 53px;

    padding: 0 15px;

    border: 1px solid #eee;
    border-radius: 6px;

    background: #fafafa;

    color: #999;
    font-size: 13px;
}



/* ========================================
   색상 선택
======================================== */

.wheel-color-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wheel-color-picker {
    flex: 0 0 53px;

    width: 53px;
    height: 53px;

    padding: 4px;

    border: 1px solid #dce0e5;
    border-radius: 6px;

    background: #fff;

    cursor: pointer;
}

.wheel-color-picker::-webkit-color-swatch-wrapper {
    padding: 2px;
}

.wheel-color-picker::-webkit-color-swatch {
    border: 0;
    border-radius: 4px;
}

.wheel-color-code {
    flex: 1;
    min-width: 0;

    font-family:
        "Pretendard",
        Arial,
        sans-serif;

    text-transform: uppercase;
}

.wheel-color-preview {
    display: block;

    flex: 0 0 53px;

    width: 53px;
    height: 53px;

    border: 1px solid #dce0e5;
    border-radius: 6px;
}



/* ========================================
   관리자 영역
======================================== */

.wheel-admin-area {
    margin-top: 35px;
    padding: 25px;

    border: 1px solid #e8e8e8;
    border-radius: 6px;

    background: #fafafa;
}

.wheel-admin-title {
    margin-bottom: 20px;

    color: #111;

    font-size: 17px;
    font-weight: 700;
}



/* ========================================
   기타 첨부
======================================== */

.wheel-upload-help {
    margin-bottom: 12px;
}



/* ========================================
   모바일
======================================== */

@media (max-width: 767px) {

    .wheel-color-picker {
        flex-basis: 50px;

        width: 50px;
        height: 52px;
    }

    .wheel-color-preview {
        flex-basis: 50px;

        width: 50px;
        height: 52px;
    }

    .wheel-design-current > a {
        width: 65px;
        height: 65px;
    }

    .wheel-design-current-info > span {
        max-width: 180px;
    }

    .wheel-admin-area {
        padding: 18px 15px;
    }

}

/* ========================================
   LIST
======================================== */

.wheel-list-wrap {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 50px 15px 70px;
    font-family: "Pretendard", "Noto Sans KR", sans-serif;
    color: #111;
    box-sizing: border-box;
}

.wheel-list-wrap *,
.wheel-list-wrap *::before,
.wheel-list-wrap *::after {
    box-sizing: border-box;
}



/* header */

.wheel-list-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.wheel-list-head h2 {
    margin: 0 0 9px;
    padding: 0;
    border: 0;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1.7px;
}

.wheel-list-head p {
    margin: 0;
    color: #777;
    font-size: 15px;
}

.wheel-write-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 140px;
    height: 48px;

    padding: 0 20px;

    background: #ff0700;
    color: #fff !important;

    text-decoration: none !important;

    font-size: 14px;
    font-weight: 700;
}

.wheel-write-btn:hover {
    background: #dc0600;
}



/* table */

.wheel-table-wrap {
    overflow-x: auto;

    width: 100%;

    border-top: 2px solid #111;
}

.wheel-list-table {
    width: 100%;
    min-width: 1100px;

    border-collapse: collapse;
    table-layout: fixed;
}

.wheel-list-table th {
    height: 55px;

    padding: 10px 8px;

    border-bottom: 1px solid #ddd;

    background: #fafafa;

    color: #333;

    font-size: 13px;
    font-weight: 700;

    text-align: center;
}

.wheel-list-table td {
    height: 92px;

    padding: 12px 8px;

    border-bottom: 1px solid #eee;

    color: #555;

    font-size: 13px;

    text-align: center;

    vertical-align: middle;
}

.wheel-list-table tbody tr {
    transition: background .15s;
}

.wheel-list-table tbody tr:hover {
    background: #fafafa;
}



/* column */

.col-check {
    width: 42px;
}

.col-num {
    width: 55px;
}

.col-design {
    width: 95px;
}

.col-title {
    width: auto;
}

.col-car {
    width: 120px;
}

.col-size {
    width: 82px;
}

.col-color {
    width: 105px;
}

.col-offset {
    width: 72px;
}

.col-pcd {
    width: 95px;
}

.col-status {
    width: 100px;
}

.col-worker {
    width: 95px;
}

.col-date {
    width: 90px;
}



/* 디자인 */

.wheel-list-design {
    display: block;

    overflow: hidden;

    width: 68px;
    height: 68px;

    margin: 0 auto;

    border: 1px solid #eee;
    border-radius: 6px;

    background: #f5f5f5;
}

.wheel-list-design img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .25s;
}

.wheel-list-design:hover img {
    transform: scale(1.07);
}

.wheel-list-no-image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #bbb;

    font-size: 22px;
}



/* 제목 */

.wheel-list-title {
    padding-left: 16px !important;
    text-align: left !important;
}

.wheel-list-title > a {
    display: block;

    color: #111;

    text-decoration: none;
}

.wheel-list-subject {
    display: flex;
    align-items: center;
    gap: 5px;
}

.wheel-list-subject strong {
    overflow: hidden;

    max-width: 100%;

    font-size: 14px;
    font-weight: 600;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.wheel-list-subject i {
    color: #999;
    font-size: 11px;
}

.comment-count {
    color: #ff0700;

    font-size: 11px;
    font-weight: 600;
}

.wheel-list-admin-info {
    margin-top: 7px;

    color: #999;

    font-size: 11px;
}

.wheel-list-dot {
    margin: 0 4px;
}

.wheel-list-mobile-info {
    display: none;
}



/* color */

.wheel-list-color {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.wheel-list-color-chip {
    display: block;

    width: 27px;
    height: 27px;

    border: 1px solid #ddd;
    border-radius: 50%;

    box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}

.wheel-list-color small {
    color: #888;

    font-family: Arial, sans-serif;
    font-size: 10px;
}



/* status */

.wheel-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 72px;
    height: 30px;

    padding: 0 10px;

    border-radius: 30px;

    font-size: 11px;
    font-weight: 700;

    white-space: nowrap;
}

.status-wait {
    background: #f1f1f1;
    color: #777;
}

.status-assign {
    background: #edf3ff;
    color: #315fd4;
}

.status-work {
    background: #fff4dc;
    color: #c98700;
}

.status-check {
    background: #f2edff;
    color: #7544c7;
}

.status-complete {
    background: #eaf8ed;
    color: #24873b;
}

.wheel-list-none {
    color: #aaa;
}



/* empty */

.wheel-empty {
    height: 180px !important;

    color: #999 !important;

    text-align: center !important;
}



/* bottom */

.wheel-list-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 20px;
}

.wheel-list-admin {
    display: flex;
    gap: 4px;
}

.wheel-small-btn {
    height: 38px;

    padding: 0 13px;

    border: 1px solid #ddd;

    background: #fff;
    color: #555;

    font-family: inherit;
    font-size: 12px;

    cursor: pointer;
}



/* search */

.wheel-search {
    margin-top: 35px;

    text-align: center;
}

.wheel-search form {
    display: inline-flex;

    width: 100%;
    max-width: 500px;
}

.wheel-search select {
    flex: 0 0 120px;

    width: 120px;
    height: 44px;

    padding: 0 10px;

    border: 1px solid #ddd;
    border-right: 0;

    background: #fff;

    font-family: inherit;
}

.wheel-search-input {
    flex: 1;

    min-width: 0;
    height: 44px;

    padding: 0 12px;

    border: 1px solid #ddd;

    outline: none;

    font-family: inherit;
}

.wheel-search-btn {
    flex: 0 0 70px;

    width: 70px;
    height: 44px;

    border: 0;

    background: #222;
    color: #fff;

    font-family: inherit;

    cursor: pointer;
}



/* pagination */

.wheel-pagination {
    margin-top: 35px;

    text-align: center;
}



/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

    .wheel-list-wrap {
        padding: 30px 15px 50px;
    }

    .wheel-list-head {
        align-items: flex-start;

        margin-bottom: 28px;
    }

    .wheel-list-head h2 {
        font-size: 29px;
        letter-spacing: -1.2px;
    }

    .wheel-list-head p {
        font-size: 13px;
    }

    .wheel-list-head .wheel-write-btn {
        display: none;
    }


    .wheel-table-wrap {
        overflow: visible;
    }


    .wheel-list-table {
        min-width: 0;
        table-layout: auto;
    }


    .wheel-list-table thead {
        display: none;
    }


    .wheel-list-table tbody,
    .wheel-list-table tr,
    .wheel-list-table td {
        display: block;

        width: 100%;
        height: auto;
    }


    .wheel-list-table tr {
        position: relative;

        min-height: 110px;

        padding: 15px 10px 15px 100px;

        border-bottom: 1px solid #eee;
    }


    .wheel-list-table td {
        padding: 0;

        border: 0;

        text-align: left;
    }


    .wheel-list-table .col-check,
    .wheel-list-table .col-num,
    .wheel-list-table .col-car,
    .wheel-list-table .col-size,
    .wheel-list-table .col-color,
    .wheel-list-table .col-offset,
    .wheel-list-table .col-pcd,
    .wheel-list-table .col-worker,
    .wheel-list-table .col-date {

        display: none;

    }


    .wheel-list-table .col-design {
        display: block;

        position: absolute;

        top: 15px;
        left: 10px;

        width: 76px;
    }


    .wheel-list-design {
        width: 76px;
        height: 76px;

        margin: 0;
    }


    .wheel-list-title {
        display: block;

        padding: 0 !important;

        text-align: left !important;
    }


    .wheel-list-subject strong {
        max-width: 100%;

        font-size: 14px;
    }


    .wheel-list-mobile-info {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 5px;

        margin-top: 8px;

        color: #888;

        font-size: 11px;
    }


    .wheel-list-mobile-info > span + span::before {
        content: "·";

        margin-right: 5px;

        color: #ccc;
    }


    .wheel-mobile-color {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }


    .wheel-mobile-color em {
        display: inline-block;

        width: 12px;
        height: 12px;

        border: 1px solid #ddd;
        border-radius: 50%;
    }


    .wheel-list-admin-info {
        margin-top: 7px;
    }


    .wheel-list-table .col-status {
        display: block;

        margin-top: 10px;

        text-align: left;
    }


    .wheel-status {
        min-width: 63px;
        height: 26px;

        padding: 0 8px;

        font-size: 10px;
    }


    .wheel-list-bottom {
        justify-content: flex-end;
    }


    .wheel-list-admin {
        display: none;
    }


    .wheel-search form {
        display: grid;

        grid-template-columns:
            100px
            minmax(0, 1fr)
            60px;
    }


    .wheel-search select,
    .wheel-search-input,
    .wheel-search-btn {
        width: 100%;
    }

}
/* ========================================
   VIEW
======================================== */

.wheel-view-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 15px 70px;

    font-family: "Pretendard", "Noto Sans KR", sans-serif;
    color: #111;

    box-sizing: border-box;
}

.wheel-view-wrap *,
.wheel-view-wrap *::before,
.wheel-view-wrap *::after {
    box-sizing: border-box;
}


/* head */

.wheel-view-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    text-align: left;
    margin-bottom: 35px;
}

.wheel-view-head h2 {
    margin: 0 0 10px;
    padding: 0;

    border: 0;

    color: #050505;

    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1.7px;
}

.wheel-view-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;

    color: #999;

    font-size: 12px;
}

.wheel-view-head-status {
    padding-bottom: 2px;
}


/* ========================================
   디자인 + 정보
======================================== */

.wheel-view-main {
    display: grid;
    grid-template-columns: 430px minmax(0, 1fr);

    border-top: 2px solid #111;
    border-bottom: 1px solid #e8e8e8;
}


/* design */

.wheel-view-design-area {
    padding: 30px;

    border-right: 1px solid #eee;

    background: #fafafa;
}

.wheel-view-design-title span,
.wheel-view-section-title > span {
    display: block;

    margin-bottom: 5px;

    color: #ff0700;

    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
}

.wheel-view-design-title h3 {
    margin: 0 0 20px;

    font-size: 20px;
    font-weight: 700;
}

.wheel-view-design-image {
    display: block;

    overflow: hidden;

    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    border: 1px solid #eee;
    border-radius: 6px;

    background: #fff;
}

.wheel-view-design-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform .3s;
}

.wheel-view-design-image:hover img {
    transform: scale(1.03);
}

.wheel-view-design-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    aspect-ratio: 1 / 1;

    border: 1px solid #eee;
    border-radius: 6px;

    background: #fff;

    color: #aaa;
}

.wheel-view-design-empty i {
    margin-bottom: 10px;

    font-size: 34px;
}

.wheel-view-design-empty span {
    font-size: 12px;
}


/* info */

.wheel-view-info-area {
    min-width: 0;
}

.wheel-view-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    height: 100%;
}

.wheel-view-info-item {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 105px;

    padding: 20px 25px;

    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.wheel-view-info-item:nth-child(2n) {
    border-right: 0;
}

.wheel-view-info-item:nth-last-child(-n+2) {
    border-bottom: 0;
}

.wheel-info-label {
    display: block;
	text-align:left;
    margin-bottom: 8px;

    color: #999;

    font-size: 12px;
    font-weight: 500;
}

.wheel-view-info-item strong {
    color: #111;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
}

/* color */

.wheel-view-color {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wheel-view-color-chip {
    display: inline-block;

    width: 32px;
    height: 32px;

    border: 1px solid #ddd;
    border-radius: 50%;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.45);
}

.wheel-view-color strong {
    font-family: Arial, sans-serif;
}


/* ========================================
   section
======================================== */

.wheel-view-section {
    margin-top: 45px;
}

.wheel-view-section-title {
    margin-bottom: 18px;
}

.wheel-view-section-title h3 {
    margin: 0;

    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.wheel-view-section-title p {
    margin: 7px 0 0;

    color: #999;

    font-size: 12px;
}


/* 요청 */

.wheel-view-request {
    min-height: 140px;

    padding: 25px;

    border-top: 2px solid #111;
    border-bottom: 1px solid #eee;

    color: #444;

    font-size: 15px;
    line-height: 1.8;
}

.wheel-view-request img {
    max-width: 100%;
    height: auto;
}

.wheel-view-empty-text {
    color: #999;
}


/* 참고 이미지 */

.wheel-view-image-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.wheel-view-reference-image {
    display: block;

    overflow: hidden;

    position: relative;

    aspect-ratio: 1 / 1;

    border: 1px solid #eee;
    border-radius: 6px;

    background: #f5f5f5;
}

.wheel-view-reference-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .3s;
}

.wheel-view-reference-image:hover img {
    transform: scale(1.05);
}


/* ========================================
   진행정보
======================================== */

.wheel-process-box {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 2px solid #111;
    border-bottom: 1px solid #eee;
}

.wheel-process-item {
    padding: 23px 25px;

    border-right: 1px solid #eee;
}

.wheel-process-item:last-child {
    border-right: 0;
}

.wheel-process-item > span {
    display: block;

    margin-bottom: 8px;

    color: #999;

    font-size: 12px;
}

.wheel-process-item strong {
    color: #111;

    font-size: 15px;
    font-weight: 600;
}

.wheel-process-item em {
    color: #aaa;

    font-style: normal;
    font-weight: 400;
}

.wheel-process-item .approval-ok {
    color: #168c38;
}


/* ========================================
   상태
======================================== */

.wheel-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 76px;
    height: 30px;

    padding: 0 12px;

    border-radius: 30px;

    font-size: 11px;
    font-weight: 700;

    white-space: nowrap;
}

.status-wait {
    background: #f1f1f1;
    color: #777;
}

.status-assign {
    background: #edf3ff;
    color: #315fd4;
}

.status-work {
    background: #fff4dc;
    color: #c98700;
}

.status-check {
    background: #f2edff;
    color: #7544c7;
}

.status-complete {
    background: #eaf8ed;
    color: #24873b;
}


/* ========================================
   COMMENT
======================================== */

.wheel-comment-wrap {
    margin-top: 55px;

    padding-top: 5px;
}


/*
기존 basic 스킨의 댓글 CSS가
정상적으로 적용되도록
view_comment.php 내부 클래스는 건드리지 않습니다.
*/


/* ========================================
   버튼
======================================== */

.wheel-view-btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 45px;
    padding-top: 20px;

    border-top: 1px solid #eee;
}

.wheel-view-btn-right {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wheel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 74px;
    height: 44px;

    padding: 0 17px;

    text-decoration: none !important;

    font-size: 13px;
    font-weight: 600;
}

.wheel-btn-light {
    border: 1px solid #ddd;

    background: #fff;

    color: #444 !important;
}

.wheel-btn-light:hover {
    border-color: #aaa;
}

.wheel-btn-red {
    border: 1px solid #ff0700;

    background: #ff0700;

    color: #fff !important;
}

.wheel-btn-red:hover {
    background: #dd0600;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

    .wheel-view-wrap {
        padding: 30px 15px 50px;
    }


    .wheel-view-head {
        align-items: flex-start;
        gap: 15px;

        margin-bottom: 25px;
    }


    .wheel-view-head h2 {
        font-size: 29px;
        letter-spacing: -1.2px;
    }


    .wheel-view-main {
        grid-template-columns: 1fr;
    }


    .wheel-view-design-area {
        padding: 20px;

        border-right: 0;
        border-bottom: 1px solid #eee;
    }


    .wheel-view-design-image {
        max-width: 420px;

        margin: 0 auto;
    }


    .wheel-view-info-grid {
        grid-template-columns: 1fr 1fr;
    }


    .wheel-view-info-item {
        min-height: 88px;

        padding: 17px 15px;
    }


    .wheel-view-info-item strong {
        font-size: 14px;
    }


    .wheel-view-color {
        gap: 7px;
    }


    .wheel-view-color-chip {
        width: 25px;
        height: 25px;
    }


    .wheel-view-section {
        margin-top: 35px;
    }


    .wheel-view-section-title h3 {
        font-size: 19px;
    }


    .wheel-view-request {
        min-height: 110px;

        padding: 18px 15px;

        font-size: 14px;
    }


    .wheel-view-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }


    .wheel-process-box {
        grid-template-columns: 1fr;
    }


    .wheel-process-item {
        padding: 18px 15px;

        border-right: 0;
        border-bottom: 1px solid #eee;
    }


    .wheel-process-item:last-child {
        border-bottom: 0;
    }


    .wheel-comment-wrap {
        margin-top: 40px;
    }


    .wheel-view-btns {
        display: block;

        margin-top: 35px;
    }


    .wheel-view-btn-right {
        margin-top: 8px;
    }


    .wheel-btn {
        height: 42px;
    }

}
/* ========================================
   관리자 VIEW 수정
======================================== */

.wheel-admin-edit {
    width: 100%;
}

.wheel-process-admin .wheel-process-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wheel-admin-select,
.wheel-admin-input {
    display: block;

    width: 100%;
    height: 45px;

    padding: 0 12px;

    border: 1px solid #ddd;
    border-radius: 5px;

    outline: none;

    background: #fff;

    color: #222;

    font-family:
        "Pretendard",
        "Noto Sans KR",
        sans-serif;

    font-size: 14px;

    transition:
        border-color .2s,
        box-shadow .2s;
}

.wheel-admin-select:focus,
.wheel-admin-input:focus {
    border-color: #999;

    box-shadow:
        0 0 0 3px rgba(0,0,0,.04);
}


.wheel-admin-save {
    display: flex;
    justify-content: flex-end;

    margin-top: 15px;
}

.wheel-admin-save button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 150px;
    height: 45px;

    padding: 0 20px;

    border: 0;

    background: #ed1c24;
    color: #fff;

    font-family:
        "Pretendard",
        "Noto Sans KR",
        sans-serif;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .2s;
}

.wheel-admin-save button:hover {
    background: #c9141b;
}


/* 모바일 */

@media (max-width: 767px) {

    .wheel-admin-save {
        display: block;
    }

    .wheel-admin-save button {
        width: 100%;
        height: 48px;
    }

}
/* ========================================
   고객 승인 디자인
======================================== */

.wheel-approve-box {
    text-align: center;
}

.wheel-customer-approve-form {
    width: 100%;
    margin-top: 8px;
}

.wheel-approve-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.wheel-approve-password {
    flex: 1;
    max-width: 250px;
    height: 44px;
    padding: 0 14px;

    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: #fff;

    color: #111;
    font-family: inherit;
    font-size: 14px;

    outline: none;
    transition: all .2s ease;
}

.wheel-approve-password:focus {
    border-color: #ed1c24;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .08);
}

.wheel-approve-password::placeholder {
    color: #aaa;
}

.wheel-customer-approve-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 44px;
    padding: 0 18px;

    border: 1px solid #ed1c24;
    border-radius: 6px;

    background: #ed1c24;
    color: #fff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;

    cursor: pointer;
    transition: all .2s ease;
}

.wheel-customer-approve-btn:hover {
    background: #c9141b;
    border-color: #c9141b;
}

.wheel-customer-approve-btn.full {
    min-width: 180px;
}

.wheel-approve-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    min-height: 44px;
    margin-top: 8px;
}

.wheel-approve-state strong {
    font-size: 15px;
    font-weight: 700;
}

.wheel-approve-state small,
.approval-help {
    display: block;
    margin-top: 8px;

    color: #999;
    font-size: 12px;
    line-height: 1.5;
}

.approval-ok {
    color: #1c9b47 !important;
}

.approval-wait {
    color: #999;
}


/* 모바일 */
@media (max-width: 767px) {

    .wheel-approve-input-group {
        flex-direction: column;
        align-items: stretch;
    }

    .wheel-approve-password {
        max-width: 100%;
        width: 100%;
    }

    .wheel-customer-approve-btn,
    .wheel-customer-approve-btn.full {
        width: 100%;
        min-width: 0;
    }

}

/* ========================================
   WHEEL COMMENT
======================================== */

.wheel-comment-area {
    width: 100%;
}


/* ========================================
   댓글 목록
======================================== */

.wheel-comment-list {
    border-top: 2px solid #111;
}

.wheel-comment-item {
    position: relative;

    padding-left:
        calc(
            var(--comment-depth, 0)
            * 30px
        );

    border-bottom: 1px solid #eee;
}

.wheel-comment-inner {
    padding: 22px 20px;
}


/* 답글 */

.wheel-comment-item.is-reply
.wheel-comment-inner {
    background: #fafafa;
}


/* ========================================
   댓글 HEADER
======================================== */

.wheel-comment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 14px;
}

.wheel-comment-user {
    display: flex;
    align-items: center;

    gap: 10px;
}

.wheel-comment-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 36px;

    width: 36px;
    height: 36px;

    border-radius: 50%;

    background: #f1f1f1;

    color: #777;

    font-size: 13px;
}

.wheel-comment-user-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 5px;
}

.wheel-comment-name {
    color: #111;

    font-size: 14px;
    font-weight: 700;
}

.wheel-worker-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 20px;

    padding: 0 8px;

    border-radius: 20px;

    background: #ed1c24;
    color: #fff;

    font-size: 10px;
    font-weight: 700;
}

.wheel-comment-id {
    color: #aaa;

    font-size: 10px;
}

.wheel-comment-date {
    color: #aaa;

    font-size: 11px;

    white-space: nowrap;
}


/* ========================================
   댓글 CONTENT
======================================== */

.wheel-comment-content {
    padding-left: 46px;

    color: #444;

    font-size: 14px;
    line-height: 1.8;

    word-break: break-word;
}

.wheel-comment-content img {
    max-width: 100%;
    height: auto;
}


/* ========================================
   ACTION
======================================== */

.wheel-comment-actions {
    display: flex;
    justify-content: flex-end;

    gap: 5px;

    margin-top: 13px;
}

.wheel-comment-actions button,
.wheel-comment-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 30px;

    padding: 0 10px;

    border: 1px solid #ddd;
    border-radius: 3px;

    background: #fff;

    color: #777 !important;

    text-decoration: none !important;

    font-family: inherit;
    font-size: 11px;

    cursor: pointer;
}


/* ========================================
   작성폼
======================================== */

.wheel-comment-form-origin {
    margin-top: 20px;
}

.wheel-comment-form-position {
    width: 100%;
}

.wheel-comment-write {
    padding: 20px;

    border: 1px solid #ddd;

    background: #fafafa;
}

.wheel-comment-write-head {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 10px;

    margin-bottom: 12px;
}

.wheel-comment-write-head > div > span {
    display: block;

    margin-bottom: 3px;

    color: #ed1c24;

    font-family: Arial, sans-serif;
    font-size: 9px;
    font-weight: 600;

    letter-spacing: .7px;
}

.wheel-comment-write-head strong {
    display: block;

    color: #111;

    font-size: 15px;
    font-weight: 700;
}

.wheel-comment-cancel {
    height: 30px;

    padding: 0 11px;

    border: 1px solid #ddd;

    background: #fff;

    color: #777;

    font-family: inherit;
    font-size: 11px;

    cursor: pointer;
}


/* textarea */

.wheel-comment-textarea {
    display: block;

    width: 100%;
    min-height: 120px;

    padding: 14px;

    border: 1px solid #ddd;
    border-radius: 4px;

    outline: 0;

    background: #fff;

    color: #222;

    font-family: inherit;
    font-size: 14px;
    line-height: 1.7;

    resize: vertical;
}

.wheel-comment-textarea:focus {
    border-color: #999;
}


/* ========================================
   비회원 비밀번호
======================================== */

.wheel-comment-password-wrap {
    margin-top: 10px;
}

.wheel-comment-password-wrap label {
    display: block;

    margin-bottom: 6px;

    color: #555;

    font-size: 12px;
    font-weight: 600;
}

.wheel-comment-password {
    width: 250px;
    height: 42px;

    padding: 0 12px;

    border: 1px solid #ddd;
    border-radius: 4px;

    outline: 0;

    background: #fff;

    font-family: inherit;
    font-size: 13px;
}

.wheel-comment-password:focus {
    border-color: #ed1c24;
}

.wheel-comment-password-wrap small {
    display: block;

    margin-top: 5px;

    color: #aaa;

    font-size: 11px;
}


/* ========================================
   작성 하단
======================================== */

.wheel-comment-write-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 12px;
}

.wheel-comment-writer {
    color: #777;

    font-size: 12px;
}

.writer-role {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 22px;

    margin-right: 5px;
    padding: 0 8px;

    border-radius: 20px;

    font-size: 10px;
    font-weight: 700;
}

.writer-role.admin {
    background: #111;
    color: #fff;
}

.writer-role.worker {
    background: #ed1c24;
    color: #fff;
}

.writer-role.customer {
    background: #eee;
    color: #555;
}


/* 등록버튼 */

.wheel-comment-submit {
    min-width: 110px;
    height: 42px;

    padding: 0 20px;

    border: 0;

    background: #ed1c24;
    color: #fff;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.wheel-comment-submit:hover {
    background: #c9141b;
}

.wheel-comment-submit:disabled {
    opacity: .6;

    cursor: wait;
}


/* ========================================
   EMPTY
======================================== */

.wheel-comment-empty {
    padding: 50px 20px;

    border-top: 2px solid #111;
    border-bottom: 1px solid #eee;

    color: #aaa;

    text-align: center;
}

.wheel-comment-empty i {
    display: block;

    margin-bottom: 10px;

    font-size: 25px;
}

.wheel-comment-empty p {
    margin: 0;

    font-size: 13px;
}

.wheel-comment-no-permission {
    margin-top: 20px;
    padding: 20px;

    background: #fafafa;

    color: #999;

    text-align: center;

    font-size: 12px;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

    .wheel-comment-item {
        padding-left:
            calc(
                var(--comment-depth, 0)
                * 13px
            );
    }

    .wheel-comment-inner {
        padding: 18px 10px;
    }

    .wheel-comment-head {
        align-items: flex-start;
    }

    .wheel-comment-content {
        margin-top: 13px;
        padding-left: 0;
    }

    .wheel-comment-write {
        padding: 15px;
    }

    .wheel-comment-textarea {
        min-height: 100px;
    }

    .wheel-comment-password {
        width: 100%;
    }

    .wheel-comment-write-bottom {
        align-items: flex-end;
    }

}

.wheel-list-head {
    text-align: left;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}