 body {
     margin: 0;
     font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Noto Sans KR", sans-serif;
     background: #f4f6f8;
     color: #222;
 }

 .repair-wrap {
     max-width: 720px;
     margin: 0 auto;
     padding: 40px 18px;
 }

 .repair-card {
     background: #fff;
     border-radius: 18px;
     padding: 32px 24px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
 }

 .logo {
     font-size: 15px;
     font-weight: 700;
     color: #2563eb;
     margin-bottom: 10px;
 }

 h1 {
     font-size: 30px;
     line-height: 1.35;
     margin: 0 0 14px;
 }

 .desc {
     font-size: 16px;
     line-height: 1.7;
     color: #555;
     padding-bottom: 13px;
     border-bottom:1px dashed #999;
 }

 .notice {
     background: #f8fafc;
     border: 1px solid #e5e7eb;
     border-radius: 14px;
     padding: 18px;
     margin: 15px 0;
 }

 .notice h2 {
     font-size: 17px;
     margin: 0 0 10px;
 }

 .notice ul {
     padding-left: 20px;
     margin: 0;
 }

 .notice li {
     font-size: 14px;
     line-height: 1.7;
     color: #444;
 }

 .btn-area {
     display: grid;
     gap: 12px;
     margin-top:20px;
 }

 .repair-btn {
     display: block;
     text-align: center;
     text-decoration: none;
     border-radius: 14px;
     padding: 17px 14px;
     font-size: 17px;
     font-weight: 700;
     transition: 0.2s ease;
 }

 .btn-apply {
     background: #2563eb;
     color: #fff;
 }

 .btn-check {
     background: #111827;
     color: #fff;
 }

  .btn-homepage {color:#252525;}

 .repair-btn:hover {
     transform: translateY(-2px);
     opacity: 0.92;
 }

 .footer-text {
     margin-top: 20px;
     font-size: 13px;
     line-height: 1.6;
     color: #777;
     text-align: center;
 }

 @media (max-width: 480px) {
     .repair-wrap {
         padding: 24px 14px;
     }

     .repair-card {
         padding: 26px 18px;
     }

     h1 {
         font-size: 25px;
     }

     .desc {
         font-size: 15px;
     }
 }


 .repair-form {
     display: grid;
     gap: 18px;
     margin-top:25px;
 }

 .form-group {
     display: grid;
     gap: 8px;
 }

 .form-group label {
     font-size: 15px;
     font-weight: 700;
     color: #222;
 }

 .form-group label span {
     color: #2563eb;
 }

 .form-group input,
 .form-group select,
 .form-group textarea {
     width: 100%;
     box-sizing: border-box;
     border: 1px solid #d1d5db;
     border-radius: 12px;
     padding: 14px 13px;
     font-size: 15px;
     font-family: inherit;
     background: #fff;
 }

 .form-group textarea {
     min-height: 110px;
     resize: vertical;
 }

 .form-group input:focus,
 .form-group select:focus,
 .form-group textarea:focus {
     outline: none;
     border-color: #2563eb;
     box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
 }

 .form-help {
     margin: 0;
     font-size: 13px;
     color: #777;
 }

 .addr-row {
     display: grid;
     grid-template-columns: 1fr 110px;
     gap: 8px;
 }

 .addr-btn {
     border: 0;
     border-radius: 12px;
     background: #111827;
     color: #fff;
     font-size: 14px;
     font-weight: 700;
     cursor: pointer;
 }

 .agree-box {
     background: #f8fafc;
     border: 1px solid #e5e7eb;
     border-radius: 14px;
     padding: 15px;
     font-size: 14px;
     line-height: 1.6;
 }

 .agree-box label {
     cursor: pointer;
 }

 .agree-box input {
     margin-right: 6px;
 }

 .btn-gray {
     background: #e5e7eb;
     color: #111827;
 }

 button.repair-btn {
     border: 0;
     cursor: pointer;
     font-family: inherit;
 }

 @media (max-width: 480px) {
     .addr-row {
         grid-template-columns: 1fr;
     }

     .addr-btn {
         padding: 14px;
     }
 }

 .complete-box {
     display: grid;
     gap: 10px;
     background: #f8fafc;
     border: 1px solid #e5e7eb;
     border-radius: 14px;
     padding: 18px;
     margin-bottom: 24px;
 }

 .complete-row {
     display: flex;
     justify-content: space-between;
     gap: 15px;
     font-size: 15px;
     line-height: 1.6;
 }

 .complete-row span {
     color: #666;
     width:20%;
 }

 .complete-row strong {
     color: #111827;
     text-align: right;
     width: 80%;
 }

 .request-list {
     display: grid;
     gap: 18px;
 }

 .request-item {
     border-radius: 16px;
     background: #fff;
 }

 .request-item h2 {
     font-size: 20px;
     margin: 20px 0 14px;
 }

 .status-badge {
     display: inline-block;
     border-radius: 999px;
     padding: 7px 12px;
     background: #2563eb;
     color: #fff;
     font-size: 13px;
     font-weight: 700;
 }

 .customer-msg {
     background: #f8fafc;
     border-radius: 14px;
     padding: 15px;
     margin-top: 14px;
 }

 .customer-msg h3 {
     margin: 0 0 8px;
     font-size: 15px;
 }

 .customer-msg p {
     margin: 0;
     font-size: 14px;
     line-height: 1.7;
     color: #444;
 }

 .admin-open-msg {
     background: #eff6ff;
     border: 1px solid #bfdbfe;
 }

 .repair-wrap.wide {
     max-width: 1100px;
 }

 .admin-search {
     display: grid;
     grid-template-columns: 1fr 160px 90px;
     gap: 8px;
     margin-bottom: 22px;
 }

 .admin-search input,
 .admin-search select {
     border: 1px solid #d1d5db;
     border-radius: 12px;
     padding: 13px;
     font-size: 14px;
 }

 .admin-search button {
     border: 0;
     border-radius: 12px;
     background: #2563eb;
     color: #fff;
     font-weight: 700;
     cursor: pointer;
 }

 .admin-list {
     display: grid;
     gap: 14px;
 }

 .admin-item {
     border: 1px solid #e5e7eb;
     border-radius: 16px;
     padding: 17px;
     background: #f3f3f3;
     margin-bottom:15px;
 }

 .admin-top {
     display: flex;
     justify-content: space-between;
     gap: 12px;
     margin-bottom: 12px;
 }

 .admin-top strong {
     font-size: 18px;
 }

 .admin-top span {
     display: block;
     margin-top: 4px;
     color: #666;
     font-size: 14px;
 }

 .admin-top em {
     font-style: normal;
     border-radius: 999px;
     padding: 7px 12px;
     font-size: 13px;
     font-weight: 700;
     height: fit-content;
 }

 .admin-info {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 8px;
     margin-bottom: 12px;
 }

 .admin-info p {
     margin: 0;
     background: #f8fafc;
     border-radius: 10px;
     padding: 10px;
     font-size: 13px;
     border:1px solid #ddd;
 }

 .admin-info b {
     display: block;
     margin-bottom: 4px;
     color: #555;
 }

 .admin-symptom {
     background: #f8fafc;
     border-radius: 12px;
     padding: 13px;
     font-size: 14px;
     line-height: 1.7;
     color: #444;
     border:1px solid #ddd;
 }

 .admin-actions {
     margin-top: 14px;
     text-align: right;
 }

 .admin-actions a {
     display: inline-block;
     background: #111827;
     color: #fff;
     text-decoration: none;
     border-radius: 10px;
     padding: 10px 14px;
     font-size: 14px;
     font-weight: 700;
 }

 @media (max-width: 768px) {
     .admin-search {
         grid-template-columns: 1fr;
     }

     .admin-search button {
         padding: 13px;
     }

     .admin-info {
         grid-template-columns: 1fr 1fr;
     }
 }

 @media (max-width: 480px) {
     .admin-info {
         grid-template-columns: 1fr;
     }

     .admin-top {
         flex-direction: column;
     }
 }

 .repair-line {
     border: 0;
     border-top: 1px solid #e5e7eb;
     margin: 10px 0;
 }

 .form-group input[readonly],
 .form-group textarea[readonly] {
     background: #f8fafc;
     color: #555;
 }

 .section-title {
     font-size: 20px;
     margin: 8px 0 14px;
 }

 .memo-list {
     display: grid;
     gap: 12px;
     margin-bottom: 18px;
 }

 .memo-item {
     border-radius: 14px;
     padding: 14px;
     border: 1px solid #e5e7eb;
 }

 .memo-customer {
     background: #eff6ff;
     border-color: #bfdbfe;
 }

 .memo-private {
     background: #fff7ed;
     border-color: #fed7aa;
 }

 .memo-meta {
     display: flex;
     justify-content: space-between;
     gap: 10px;
     margin-bottom: 8px;
     font-size: 13px;
 }

 .memo-meta strong {
     color: #111827;
 }

 .memo-meta span {
     color: #777;
 }

 .memo-content {
     font-size: 14px;
     line-height: 1.7;
     color: #333;
 }

 .public-memo-item {
     border-top: 1px solid #bfdbfe;
     padding-top: 10px;
     margin-top: 10px;
 }

 .public-memo-item:first-of-type {
     border-top: 0;
     padding-top: 0;
     margin-top: 0;
 }

 .public-memo-item strong {
     display: block;
     font-size: 13px;
     color: #2563eb;
     margin-bottom: 5px;
 }

 .public-memo-item p {
     margin: 0;
 }

 .tracking-link {
     color: #2563eb;
     text-decoration: none;
     font-weight: 700;
 }

 .tracking-link:hover {
     text-decoration: underline;
 }

 .address-row {
     align-items: flex-start;
 }

 .address-text {
     text-align: right;
     line-height: 1.6;
     word-break: keep-all;
 }

 .repair-timeline {
     display: grid;
     grid-template-columns: repeat(6, 1fr);
     gap: 8px;
     margin: 18px 0 20px;
 }

 .timeline-step {
     position: relative;
     text-align: center;
     font-size: 12px;
     color: #999;
 }

 .timeline-dot {
     width: 16px;
     height: 16px;
     margin: 0 auto 7px;
     border-radius: 50%;
     background: #d1d5db;
 }

 .timeline-label {
     line-height: 1.3;
     word-break: keep-all;
 }

 .timeline-step.done .timeline-dot {
     background: #2563eb;
 }

 .timeline-step.done .timeline-label {
     color: #2563eb;
     font-weight: 700;
 }

 .timeline-step.current .timeline-dot {
     background: #f97316;
     animation: blinkStatus 1s infinite;
 }

 .timeline-step.current .timeline-label {
     color: #f97316;
     font-weight: 800;
 }

 @keyframes blinkStatus {
     0% {
         opacity: 1;
         transform: scale(1);
     }

     50% {
         opacity: 0.35;
         transform: scale(1.25);
     }

     100% {
         opacity: 1;
         transform: scale(1);
     }
 }

 @media (max-width: 480px) {
     .repair-timeline {
         grid-template-columns: repeat(3, 1fr);
         row-gap: 16px;
     }
 }

 .customer-reply-box {
     margin-top: 14px;
     background: #f8fafc;
     border: 1px solid #e5e7eb;
     border-radius: 14px;
     padding: 15px;
 }

 .customer-reply-box h3 {
     margin: 0 0 8px;
     font-size: 15px;
 }

 .customer-reply-box p {
     margin: 0 0 10px;
     font-size: 13px;
     line-height: 1.6;
     color: #666;
 }

 .customer-reply-box textarea {
     width: 100%;
     min-height: 90px;
     box-sizing: border-box;
     border: 1px solid #d1d5db;
     border-radius: 12px;
     padding: 12px;
     font-size: 14px;
     font-family: inherit;
     resize: vertical;
 }

 .reply-btn {
     width: 100%;
     margin-top: 10px;
     border: 0;
     border-radius: 12px;
     background: #111827;
     color: #fff;
     padding: 13px;
     font-size: 14px;
     font-weight: 700;
     cursor: pointer;
 }

 .customer-reply-box.done {
     background: #ecfdf5;
     border-color: #bbf7d0;
     color: #047857;
     font-size: 14px;
     font-weight: 700;
 }

 .memo-reply {
     background: #fefce8;
     border-color: #fde68a;
 }

 .admin-badges {
     display: flex;
     gap: 6px;
     align-items: flex-start;
     flex-wrap: wrap;
     justify-content: flex-end;
 }

 .admin-top .reply-badge {
     display: inline-block;
     background: #facc15;
     color: #422006;
     border-radius: 999px;
     padding: 7px 12px;
     font-size: 13px;
     font-weight: 800;
     margin:0 !important;
 }

 .status-default,
 .status-wait,
 .status-received,
 .status-checking,
 .status-repairing,
 .status-done,
 .status-fail,
 .status-payment,
 .status-shipped {
     display: inline-block;
     border-radius: 999px;
     padding: 7px 12px;
     font-size: 13px;
     font-weight: 800;
 }

 .status-default {
     background: #e5e7eb;
     color: #374151;
 }

 .status-wait {
     background: #2a60cc;
     color: #fff;
 }

 .status-received {
     background: #af1875;
     color: #fff;
 }

 .status-checking {
     background: #433196;
     color: #fff;
 }

 .status-repairing {
     background: #ffedd5;
     color: #c2410c;
 }

 .status-done {
     background: #009032;
     color: #fff;
 }

 .status-fail {
     background: #fee2e2;
     color: #b91c1c;
 }

 .status-payment {
     background: #e2c800;
     color: #fff;
 }

 .status-shipped {
     background: #ffa200;
     color: #fff;
 }

 .admin-actions {
     display: flex;
     justify-content: flex-end;
     gap: 8px;
 }

 .admin-actions .delete-btn {
     background: #dc2626;
 }


 .status-filter-buttons {
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
     margin: 0 0 22px;
 }

 .status-filter-btn {
     text-decoration: none;
     opacity: 0.55;
     transition: 0.15s ease;
 }

 .status-filter-btn:hover,
 .status-filter-btn.active {
     opacity: 1;
     transform: translateY(-1px);
 }

 .status-filter-btn.active {
     outline: 2px solid #111827;
     outline-offset: 2px;
 }

 .admin-top-actions {
     display: flex;
     justify-content: flex-end;
     margin-bottom: 14px;
 }

 .admin-add-btn {
     display: inline-block;
     background: #252525;
     color: #fff;
     text-decoration: none;
     border-radius: 12px;
     padding: 12px 16px;
     font-size: 14px;
     font-weight: 800;
 }

 .repair_title_wrap {display: flex; justify-content: space-between;}

 .type-badge {
     display: inline-block;
     margin-bottom: 6px;
     border-radius: 999px;
     padding: 5px 10px;
     font-size: 12px;
     font-weight: 800;
 }

 .type-delivery {
     background: #000;
     color: #fff !important;
     font-weight:400 !important;
     font-size:12px !important;
 }

 .type-visit {
     background: #138b8f;
     color: #fff !important;
     font-weight:400 !important;
     font-size:12px !important;
 }

 .type_wrap {display: flex; align-items: center; gap:10px;}

 .type-filter-buttons {
     display: flex;
     gap: 8px;
     margin-bottom: 14px;
     flex-wrap: wrap;
 }

 .type-filter-btn {
     display: inline-block;
     padding: 7px 12px;
     border-radius: 999px;
     text-decoration: none;
     font-size: 13px;
     font-weight: 700;
     background: #f3f4f6;
     color: #374151;
 }

 .type-filter-btn.delivery {
     background: #e0f2fe;
     color: #0369a1;
 }

 .type-filter-btn.visit {
     background: #fef3c7;
     color: #92400e;
 }

 .type-filter-btn.active {
     outline: 2px solid #111827;
     outline-offset: 2px;
 }

 .status-group {
     margin-bottom: 28px;
 }

 .status-group-title {
     display: flex;
     justify-content: space-between;
     align-items: center;
     background: #26b0ab;
     color:#fff;
     border: 1px solid #e5e7eb;
     border-radius: 14px;
     padding: 13px 16px;
     margin: 0 0 12px;
     font-size: 18px;
 }

 .status-group-title span {
     font-size: 13px;
     color: #fff;
 }

 .status-group.is-folded .status-group-items {
     display: none;
 }

 .status-group-title.toggle-title {
     cursor: pointer;
 }

 .status-group-title.toggle-title:hover {
     background: #252525;
 }

 .history-list {
     display: grid;
     gap: 8px;
     margin-bottom: 18px;
 }

 .history-item {
     display: flex;
     justify-content: space-between;
     gap: 12px;
     background: #f8fafc;
     border: 1px solid #e5e7eb;
     border-radius: 12px;
     padding: 11px 13px;
     font-size: 14px;
 }

 .history-item span {
     color: #666;
     white-space: nowrap;
 }

 .history-item strong {
     color: #111827;
     text-align: right;
 }

 .empty-text {
     background: #f8fafc;
     border-radius: 12px;
     padding: 13px;
     color: #777;
     font-size: 14px;
 }