@CHARSET "UTF-8";

.trial-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 200px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.popup-overlay {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.popup-form.v2 {
    background: #fff;
    border-radius: 12px;
    width: 500px;
    padding: 40px 30px 30px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
}

.popup-header {
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee; /* 구분선 추가 */
}

.popup-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0;
}


.popup-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

.popup-field {
    margin-bottom: 24px;
}

.popup-field label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: #444;
}

.popup-field input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.popup-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.popup-btn {
    min-width: 100px;
    height: 44px;
    font-size: 15px;
    border-radius: 22px;
    padding: 0 24px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.popup-btn.cancel {
    background: #fff;
    border: 1px solid #ccc;
    color: #333;
}

.popup-btn.confirm {
    background: #222;
    color: #fff;
}



.icon {
    vertical-align: middle;
}
.n_txt1{
    font-size: 30px;
    color: #111111;
    letter-spacing: -1px;
    text-align: center;
    font-weight: 500;
}

.tab-wrapper {
    display: flex;
    justify-content: center;
    gap: 80px;
    height: 80px;
    background-color: #f6f6f6;
    border-radius: 16px;
    align-items: center;
    margin-bottom: 100px;
}

.tab-menu {
    font-family: NotoSansKR-Medium;
    font-size: 20px;
    color: #888888;
    letter-spacing: -0.5px;
    text-align: center;
    line-height: 30px;
    font-weight: 500;
}

.tab-menu.selected {
    font-family: NotoSansKR-Bold;
    font-size: 20px;
    color: #2050DD;
    letter-spacing: -0.5px;
    text-align: center;
    line-height: 30px;
    font-weight: 700;
}
.order-table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: center;
}



/* 헤더 */
.order-table thead th {
    border: 1px solid #e0e0e0;
    border-top: 1px solid #333;
    background-color: #f6f6f6;
    height: 60px;
    font-family: NotoSansKR-Medium;
    font-size: 14px;
    color: #333333;
    letter-spacing: -0.5px;
    text-align: center;
    font-weight: 500;
    vertical-align: middle;
    padding: 18px 16px 20px;
}
/* 본문 */
.order-table td {
    height: 60px;
    border: 1px solid #e0e0e0;
    font-family: NotoSansKR-Regular;
    font-size: 16px;
    color: #555555;
    letter-spacing: -0.5px;
    text-align: center;
    line-height: 24px;
    font-weight: 400;
    vertical-align: middle;
    padding: 18px 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.order-table th:first-child,
.order-table td:first-child {
    border-left: none;
}

.order-table th:last-child,
.order-table td:last-child {
    border-right: none;
}

.order-table tbody td.title {
    text-align: left;
}
.product-name {
    width: 490px;
}

.status-done {
    color: #000;
}

.status-cancel {
    color: red;
}
.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    gap: 4px;
}

.page {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 13px;
    color: #333;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
}

.page.active {
    background-color: #333333;
    color: #fff;
    font-weight: 500;
}
.btn-download, .gomore {
    font-family: NotoSansKR-Medium;
    font-size: 13px;
    color: #333333;
    letter-spacing: -0.5px;
    line-height: 20px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px; /* 아이콘과 텍스트 간격 */
    padding: 6px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    background-color: #ffffff;
    text-decoration: none;
    height: 32px; /* 혹은 디자인 기준으로 조정 */
}
.btn-download {
    width: 90px;
}
.gomore {
    padding: 6px 12px;
    width: 127px;
}
.btn-download img {
    width: 14px;
    height: 14px;
}
.order-table td.button-cell {
    padding: 10px 16px;
}
/* 모바일 전용 */
@media screen and (max-width: 768px) {
    .pc-popup { display: none !important; }

    .pc-only { display: none; }
    .n_txt1 {
        font-size: 18px;
        letter-spacing: -1px;
        line-height: 1.4;
        margin: 40px 20px;
    }

    h1 {
        font-size: 28px;
        line-height: 38px;
        margin: 10px 0 30px;
    }

    .tab-wrapper {
        flex-direction: column;
        gap: 16px;
        height: auto;
        padding: 12px;
        margin-bottom: 40px;
    }

    .tab-menu {
        font-size: 16px;
    }

    .order-table {
        font-size: 12px;
        margin-top: 40px;
    }
    .order-table thead th,
    .order-table td {
        height: 40px;
        padding: 6px;
    }
    .product-name {
        width: auto; /* 화면 꽉 차게 */
    }


    .btn-download, .gomore {
        font-weight: 400;
        padding: 4px 10px;
        font-size: 12px;
        border-radius: 20px;
        height: 28px;
    }
    .btn-download img {
        width: 12px;
        height: 12px;
    }

    .btn-wrapper {
        text-align: center;       /* 가운데 정렬 */
        margin: 20px 0;           /* 위아래 여백 */
    }
    .btn {
        padding: 12px 40px;     /* 좌우/상하 여백 넉넉하게 */
        font-size: 17px;           /* 글씨 조금 키움 */
        font-weight: 600;          /* 글씨 더 굵게 */
        line-height: 24px;         /* 높이 확보 */
        border-radius: 999px;      /* pill 유지 */
    }

    .btn.secondary {
        background: #173582;
        color: #fff;
        border: 1px solid #04102f;
    }

    .btn img,
    .btn svg {
        width: 14px;             /* 아이콘 크기 축소 */
        height: 14px;
    }

    .pagination {
        margin: 20px 0;
    }
    .page {
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 12px;
    }

    /* PC는 기존 스타일 유지 */

        /* 모바일 info-table */
    .info-table {
        width: 100%;
        border-collapse: collapse;
        border: none;   /* 여기서 상단 border 제거 */
        margin: 40px 0;
    }

    .info-table th,
    .info-table td {
        border: 1px solid #e0e0e0;
        padding: 12px;
        font-size: 14px;
        text-align: left;
        font-weight: 400;
    }

    .info-table th {
        width: 30%;             /* 라벨 칸 */
        background: #f6f6f6;     /* 회색 배경 */
        font-weight: 600;
        color: #333;
    }

    .info-table td {
        width: 70%;             /* 값 칸 */
        background: #fff;
        color: #555;
    }

    .info-table tr:first-child th,
    .info-table tr:first-child td {
        border-top: 1px solid #000;  /* 검은 줄 */
        font-weight: 500;
    }
    /* 배경 */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }

    /* 박스 */
    .modal-box {
        background: #fff;
        width: 320px;
        border-radius: 16px;
        overflow: hidden;
        font-family: "Noto Sans KR", sans-serif;
        text-align: center;
        position: relative;
    }

    /* 상단 회색 핸들 */
    .modal-handle {
        width: 36px;
        height: 4px;
        background: #ccc;
        border-radius: 2px;
        margin: 12px auto 8px;
    }

    /* 헤더 */
    .modal-header {
        font-size: 16px;
        font-weight: 700;
        padding: 4px 16px 12px;
    }

    /* 본문 */
    .modal-body {
        font-size: 14px;
        color: #444;
        line-height: 1.5;
        padding: 0 16px 20px;
    }
    .modal-body .emphasis {
        margin-top: 12px;
        font-weight: 500;
    }

    /* 푸터 버튼 */
    .modal-footer {
        display: flex;
        border-top: 1px solid #eee;
    }
    .modal-footer .btn {
        flex: 1;
        padding: 14px 0;
        font-size: 15px;
        font-weight: 500;
        border: none;
        background: #fff;
        cursor: pointer;
    }
    .modal-footer .btn.cancel {
        color: #222;
        border-radius: 0 0 0 16px; /* 왼쪽 버튼 모서리 */
    }
    .modal-footer .btn.confirm {
        background: #1f5eff;
        color: #fff;
        border-radius: 0 0 16px 0; /* 오른쪽 버튼 모서리 */
    }



    .mobile-popup{
        display:none; position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:1000;
    }

    /* card */
    .mobile-popup .popup-form.mobile{
        position:fixed; top:50%; left:50%; transform:translate(-50%,-50%);
        width:90%; max-width:270px; background:#fff; border-radius:20px; overflow:hidden;
    }

    /* handle */
    .mobile-popup .popup-handle{
        width:44px; height:4px;
        background:#d9d9d9; border-radius:999px;
        margin:10px auto 8px;           /* 시안처럼 상단 여백 */
    }

    /* header + body */
    .mobile-popup .popup-header{ padding:10px 14px 6px; text-align:left; }
    .mobile-popup .popup-title{ font-size:14px; font-weight:700; margin:0 0 6px; color:#000; }
    .mobile-popup .popup-desc{ font-size:11px; color:#666; line-height:1.4; padding:0 14px 8px; text-align:left; }
    .mobile-popup .alert-desc{ padding:0 14px 8px; font-family: NotoSansKR-Medium; font-size:12px; color:#111111; text-align: center; line-height: 24px; font-weight: 500; }

    /* fields */
    .mobile-popup .popup-field{ padding:6px 14px; display:flex; flex-direction:column; }
    .mobile-popup .popup-field label{ font-size:11px; margin-bottom:2px; color:#333; }
    .mobile-popup .popup-field input{
        padding:6px; font-size:11px; border:1px solid #ccc; border-radius:6px;
    }

    /* button (하단 꽉 차게) */
    .mobile-popup .popup-actions{ margin-top:10px; }
    .mobile-popup .btn-submit{
        display:block; width:100%; height:40px; font-size:12px; font-weight:600;
        background:#1a56db; color:#fff; border:none; border-radius:0 0 20px 20px; cursor:pointer;
    }

}
