/**
 * Page Styles
 * 통합 스타일시트 - 모든 페이지 인라인 스타일 통합
 */

/* ===== 공통 ===== */
.sub-page {
    padding: 20px 0;
}
.sub-title {
    position: relative;
    font-size: 36px;
    margin: 10px 0 50px;
}
.sub-title small {
    display: block;
    margin-top: 10px;
    font-size: .9375rem;
    border-top: 1px solid #757575;
    padding-top: 10px;
}
.contents-box-inner {
    padding: 20px 0;
}

/* ===== About Us ===== */
.page-aboutus .aboutus-top {
    position: relative;
}
.page-aboutus .aboutus-img {
    position: absolute;
    top: 50px;
    left: 50px;
    max-height: 480px;
}
.page-aboutus .aboutus-img:before {
    content: "";
    position: absolute;
    display: block;
    width: 150px;
    height: 150px;
    left: 200px;
    bottom: -25px;
    background: #BD081C;
    z-index: 1;
}
.page-aboutus .aboutus-img img {
    position: relative;
    display: block;
    width: 320px;
    height: auto;
    z-index: 2;
}
.page-aboutus .aboutus-top .text-1 {
    padding: 50px 50px 50px 430px;
    margin: 0;
    color: #fff;
    background: #252525;
}
.page-aboutus .aboutus-top .text-2 {
    padding: 50px 50px 50px 430px;
    margin: 0;
    color: #000;
    background: #e5e5e5;
}
.page-aboutus .page-words {
    margin: 70px 0;
}
.page-aboutus .page-words h4 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #34608D;
    text-align: center;
    word-break: keep-all;
    line-height: 1.5;
}
.page-aboutus .aboutus-bottom {
    position: relative;
}

@media (min-width: 768px) and (max-width: 991px) {
    .page-aboutus .aboutus-top .text-2 {
        padding: 80px 50px 50px;
    }
}

@media (max-width: 767px) {
    .page-aboutus .page-words {
        margin: 40px 0;
    }
    .page-aboutus .page-words h4 {
        font-size: 1.25rem;
    }
    .page-aboutus .aboutus-img {
        top: 20px;
        left: 20px;
    }
    .page-aboutus .aboutus-img:before {
        left: 165px;
        bottom: -15px;
    }
    .page-aboutus .aboutus-img img {
        width: 300px;
    }
    .page-aboutus .aboutus-top .text-1 {
        padding: 520px 20px 20px;
    }
    .page-aboutus .aboutus-top .text-2 {
        padding: 20px;
    }
}

/* ===== Contact Us ===== */
.page-contact .contact-img {
    margin-bottom: 50px;
}
.page-contact .contact-info h3 {
    margin: 0 0 20px;
    font-size: 1.375rem;
}
.page-contact .contact-info ul {
    position: relative;
    border-bottom: 1px solid #c5c5c5;
}
.page-contact .contact-info ul:after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: #353535;
}
.page-contact .contact-info li {
    position: relative;
    padding: 15px 0 15px 90px;
    border-top: 1px solid #c5c5c5;
    color: #757575;
}
.page-contact .contact-info li span {
    position: absolute;
    top: -1px;
    left: 0;
    display: block;
    width: 80px;
    color: #252525;
    border-top: 2px solid #353535;
    padding-top: 15px;
}
.page-contact .map-box {
    margin-top: 30px;
}
.page-contact .map-box iframe {
    border: 0;
}

/* ===== Tag List ===== */
.tag-list {
    position: relative;
    margin-bottom: 40px;
}
.tag-list .tag-word {
    display: inline-block;
    padding: 3px 10px;
    line-height: 1;
    transition: all 0.1s ease-in-out;
    border-radius: 2px !important;
    background: #f5f5f5;
    margin: 2px;
    font-size: .8125rem;
}
.tag-list .tag-word:hover {
    background: #e5e5e5;
}
.tag-list .font-kind-10 { font-size: 1.4375rem; color: #e53935; }
.tag-list .font-kind-9 { font-size: 1.375rem; color: #3949ab; }
.tag-list .font-kind-8 { font-size: 1.3125rem; color: #00897b; }
.tag-list .font-kind-7 { font-size: 1.25rem; color: #5e35b1; }
.tag-list .font-kind-6 { font-size: 1.1875rem; color: #fb8c00; }
.tag-list .font-kind-5 { font-size: 1.125rem; color: #43a047; }
.tag-list .font-kind-4 { font-size: 1.0625rem; color: #1e88e5; }
.tag-list .font-kind-3 { font-size: 1rem; color: #2E3340; }
.tag-list .font-kind-2 { font-size: .9375rem; color: #757575; }
.tag-list .font-kind-1 { font-size: .875rem; color: #B5B5B5; }

/* ===== Tag View (Webzine) ===== */
.board-webzine .webzine-item {
    position: relative;
    font-size: 13px;
    margin-bottom: 30px;
    border: 1px solid #d5d5d5;
    border-radius: 2px !important;
    background: #fff;
    width: 100%;
}
.board-webzine .webzine-item-heading {
    position: relative;
    padding: 8px 15px;
    border-bottom: 1px solid #e5e5e5;
    background: #f8f8f8;
    border-radius: 2px 2px 0 0 !important;
}
.board-webzine .webzine-item-heading .webzine-photo {
    display: inline-block;
    width: 26px;
    height: 26px;
    margin-right: 2px;
    border: 1px solid #e5e5e5;
    padding: 1px;
    box-sizing: border-box;
    border-radius: 50% !important;
}
.board-webzine .webzine-item-heading .webzine-photo img {
    width: 100%;
    height: auto;
    border-radius: 50% !important;
}
.board-webzine .webzine-item-heading .webzine-photo .webzine-user-icon {
    width: 22px;
    height: 22px;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    background: #959595;
    color: #fff;
    box-sizing: border-box;
    display: inline-block;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 50% !important;
}
.board-webzine .webzine-item-heading .webzine-date {
    margin-left: 7px;
    font-size: 12px;
}
.board-webzine .webzine-item-heading .webzine-date i {
    color: #959595;
}
.board-webzine .webzine-item-body {
    position: relative;
    overflow: hidden;
    padding: 15px;
    min-height: 130px;
    box-sizing: content-box;
}
.board-webzine .webzine-item-body .webzine-img {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 200px;
    z-index: 1;
}
.board-webzine .webzine-item-body .webzine-desc {
    position: relative;
}
.board-webzine .webzine-item-body .webzine-noimg-desc {
    position: relative;
}
.board-webzine .webzine-item-body .webzine-img-box {
    position: relative;
    overflow: hidden;
    height: 130px;
    padding: 3px;
    background: #fff;
    border: 1px solid #ddd;
    box-sizing: border-box;
    border-radius: 3px !important;
}
.board-webzine .webzine-item-body .webzine-img-box-in {
    position: relative;
    overflow: hidden;
    height: 122px;
    border-radius: 2px !important;
}
.board-webzine .webzine-item-body .webzine-img-box-in:after {
    content: "";
    text-align: center;
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    opacity: 0;
    transition: all 0.2s ease 0s;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}
.board-webzine .webzine-item-body .webzine-img-box-in .movie-icon {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fff;
    font-size: 42px;
    line-height: 1;
    margin-top: -21px;
    margin-left: -18px;
    z-index: 1;
}
.board-webzine .webzine-item:hover .webzine-img-box-in:after {
    opacity: 1;
}
.board-webzine .webzine-item-body h4 {
    font-size: 15px;
    color: #000;
    margin-left: 215px;
}
.board-webzine .webzine-item:hover .webzine-item-body h4 {
    text-decoration: underline;
    color: #005cff;
}
.board-webzine .webzine-item-body .webzine-cont {
    position: relative;
    font-weight: 300;
    color: #757575;
    margin-left: 215px;
}
.board-webzine .webzine-item-body .webzine-info {
    position: relative;
    border-top: 1px solid #f2f2f2;
    padding-top: 7px;
    margin-left: 215px;
}
.board-webzine .webzine-item-body .webzine-info span {
    color: #959595;
    font-size: 11px;
}
.board-webzine .webzine-item-body .webzine-info span i {
    margin-right: 5px;
}
.board-webzine .webzine-item-body .webzine-info strong {
    font-weight: normal;
    margin-right: 10px;
}
.board-webzine .webzine-item-body .webzine-noimg-desc h4 {
    margin-left: 0;
}
.board-webzine .webzine-item-body .webzine-noimg-desc .webzine-cont {
    margin-left: 0;
}
.board-webzine .webzine-item-body .webzine-noimg-desc .webzine-info {
    margin-left: 0;
}

@media (max-width: 576px) {
    .board-webzine .webzine-item-heading {
        padding: 8px 10px;
    }
    .board-webzine .webzine-item-body {
        padding: 15px 10px;
    }
    .board-webzine .webzine-item-body .webzine-img {
        top: 54px;
        left: 10px;
        width: 100px;
    }
    .board-webzine .webzine-item-body .webzine-img-box {
        height: 70px;
    }
    .board-webzine .webzine-item-body .webzine-img-box-in {
        height: 62px;
    }
    .board-webzine .webzine-item-body h4 {
        margin-left: 0;
    }
    .board-webzine .webzine-item-body .webzine-cont {
        margin-left: 110px;
        height: 72px;
        font-size: 12px;
        overflow: hidden;
        margin-bottom: 15px;
    }
    .board-webzine .webzine-item-body .webzine-info {
        margin-left: 0;
        padding-top: 10px;
    }
    .board-webzine .webzine-item-body .webzine-noimg-desc .webzine-cont {
        height: 70px;
        font-size: 12px;
        overflow: hidden;
    }
}

/* ===== No Email (Bootstrap 대체) ===== */
.contents-box-inner .alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.contents-box-inner .alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.contents-box-inner .alert ol {
    margin: 0;
    padding-left: 20px;
}
.contents-box-inner .alert li {
    margin-bottom: 8px;
    line-height: 1.6;
}
.contents-box-inner .alert li:last-child {
    margin-bottom: 0;
}
.contents-box-inner blockquote.hero {
    padding: 15px 20px;
    margin: 0;
    border-left: 4px solid #ddd;
    background: #f9f9f9;
}
.contents-box-inner blockquote.hero p {
    margin: 0;
    font-size: 1rem;
    color: #555;
}
.contents-box-inner blockquote.hero i {
    margin-right: 8px;
}
.m-b-20 { margin-bottom: 20px; }
.m-b-30 { margin-bottom: 30px; }
.m-t-30 { margin-top: 30px; }
.m-l-5 { margin-left: 5px; }

/* ===== Char Count ===== */
.page-charcount {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}
.page-charcount .container {
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.page-charcount h1 {
    text-align: center;
    margin-bottom: 20px;
}
.page-charcount form {
    text-align: center;
    margin-top: 20px;
}
.page-charcount textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    box-sizing: border-box;
}
.page-charcount input[type="checkbox"] {
    margin-right: 5px;
}
.page-charcount input[type="submit"],
.page-charcount .reset-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}
.page-charcount input[type="submit"]:hover,
.page-charcount .reset-button:hover {
    background-color: #0056b3;
}
.page-charcount p {
    text-align: center;
    margin-top: 20px;
}
.page-charcount #charCount {
    font-family: monospace;
    white-space: pre-line;
}

/* ===== Privacy & Provision ===== */
.privacy-page,
.provision-page {
    padding: 20px 0;
    line-height: 1.8;
    color: #555;
}
.provision-page h5 {
    margin: 30px 0 20px;
    font-weight: 600;
    color: #333;
}
.provision-page h5 span {
    color: #333;
}

/* ===== Table (Bootstrap 대체) ===== */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
}
.table td,
.table th {
    padding: 12px 15px;
    vertical-align: middle;
}
.table-bordered {
    border: 1px solid #ddd;
}
.table-bordered td,
.table-bordered th {
    border: 1px solid #ddd;
}
.table-bordered td:first-child {
    background: #f8f8f8;
    font-weight: 500;
    width: 150px;
    color: #333;
}

/* ===== Content Box (tagview) ===== */
.content-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 30px;
}
.content-box-header {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    background: #f8f8f8;
}
.content-box-header h4 {
    margin: 0;
    font-size: 15px;
}
.content-box-body {
    padding: 15px;
}

/* ===== Button (eyoom 대체) ===== */
.btn-e {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}
.btn-e-xxs {
    padding: 2px 6px;
    font-size: 11px;
}
.btn-e-xs {
    padding: 3px 8px;
    font-size: 12px;
}
.btn-e-gray {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}
.btn-e-gray:hover {
    background: #e5e5e5;
}
.btn-e-blue {
    background: #2196F3;
    color: #fff;
}
.btn-e-blue:hover {
    background: #1976D2;
}
.rounded {
    border-radius: 20px !important;
}

/* ===== 텍스트 유틸리티 ===== */
.font-bold {
    font-weight: 600;
}
.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.color-black {
    color: #000;
}

/* ===== 유틸리티 클래스 ===== */
.text-gray,
.color-grey {
    color: #757575;
}
.text-center {
    text-align: center;
}
.font-size-12 {
    font-size: 12px;
}
.font-size-14 {
    font-size: 14px;
}
.margin-bottom-20 {
    margin-bottom: 20px;
}
.margin-bottom-30 {
    margin-bottom: 30px;
}
.list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* ===== ChatGPT ===== */
.page-chatgpt {
    padding: 30px 0;
}
.page-chatgpt .chatgpt-container {
    max-width: 800px;
    margin: 0 auto;
}
.page-chatgpt .chatgpt-header {
    text-align: center;
    margin-bottom: 30px;
}
.page-chatgpt .chatgpt-header h1 {
    font-size: 2rem;
    color: #333;
    margin: 0 0 10px;
}
.page-chatgpt .chatgpt-header h1 i {
    color: #10a37f;
    margin-right: 10px;
}
.page-chatgpt .chatgpt-desc {
    color: #666;
    font-size: 14px;
    margin: 0;
}
.page-chatgpt .chatgpt-form {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}
.page-chatgpt .form-group {
    margin-bottom: 20px;
}
.page-chatgpt .form-group:last-child {
    margin-bottom: 0;
}
.page-chatgpt .form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}
.page-chatgpt .form-group label i {
    margin-right: 6px;
    color: #10a37f;
}
.page-chatgpt .label-hint {
    font-weight: 400;
    color: #888;
    font-size: 12px;
    margin-left: 8px;
}
.page-chatgpt .label-required {
    background: #e53935;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: 500;
}
.page-chatgpt .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.page-chatgpt .form-group textarea:focus {
    outline: none;
    border-color: #10a37f;
    box-shadow: 0 0 0 3px rgba(16, 163, 127, 0.1);
}
.page-chatgpt .form-group textarea::placeholder {
    color: #aaa;
}
.page-chatgpt .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.page-chatgpt .btn-submit {
    flex: 1;
    background: #10a37f;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.page-chatgpt .btn-submit:hover {
    background: #0d8a6a;
}
.page-chatgpt .btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.page-chatgpt .btn-submit i {
    margin-right: 8px;
}
.page-chatgpt .btn-reset {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}
.page-chatgpt .btn-reset:hover {
    background: #e5e5e5;
}
.page-chatgpt .btn-reset i {
    margin-right: 8px;
}
.page-chatgpt .chatgpt-error {
    background: #fff5f5;
    border: 1px solid #fcc;
    color: #c53030;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.page-chatgpt .chatgpt-error i {
    margin-right: 10px;
    font-size: 18px;
}
.page-chatgpt .chatgpt-output {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}
.page-chatgpt .output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
}
.page-chatgpt .output-header h3 {
    margin: 0;
    font-size: 15px;
    color: #333;
}
.page-chatgpt .output-header h3 i {
    margin-right: 8px;
    color: #10a37f;
}
.page-chatgpt .btn-copy {
    background: #fff;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}
.page-chatgpt .btn-copy:hover {
    background: #f5f5f5;
    border-color: #ccc;
}
.page-chatgpt .btn-copy i {
    margin-right: 5px;
}
.page-chatgpt .output-content {
    padding: 20px;
    line-height: 1.8;
    color: #333;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.page-chatgpt .output-meta {
    padding: 12px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e5e5e5;
    font-size: 12px;
    color: #888;
    display: flex;
    gap: 20px;
}
.page-chatgpt .output-meta i {
    margin-right: 5px;
}

@media (max-width: 768px) {
    .page-chatgpt {
        padding: 20px 15px;
    }
    .page-chatgpt .chatgpt-header h1 {
        font-size: 1.5rem;
    }
    .page-chatgpt .chatgpt-form {
        padding: 20px 15px;
    }
    .page-chatgpt .form-actions {
        flex-direction: column;
    }
    .page-chatgpt .btn-submit,
    .page-chatgpt .btn-reset {
        width: 100%;
    }
    .page-chatgpt .output-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .page-chatgpt .output-meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* ===== Naver Map ===== */
.page-nhnmap {
    padding: 30px 0;
}
.page-nhnmap .nhnmap-container {
    max-width: 1200px;
    margin: 0 auto;
}
.page-nhnmap .nhnmap-header {
    text-align: center;
    margin-bottom: 30px;
}
.page-nhnmap .nhnmap-header h1 {
    font-size: 2rem;
    color: #333;
    margin: 0 0 10px;
}
.page-nhnmap .nhnmap-header h1 i {
    color: #03c75a;
    margin-right: 10px;
}
.page-nhnmap .nhnmap-desc {
    color: #666;
    font-size: 14px;
    margin: 0;
}
.page-nhnmap .nhnmap-form {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}
.page-nhnmap .form-group {
    margin-bottom: 20px;
}
.page-nhnmap .form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}
.page-nhnmap .form-group label i {
    margin-right: 6px;
    color: #03c75a;
}
.page-nhnmap .label-required {
    background: #e53935;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: 500;
}
.page-nhnmap .form-group input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.page-nhnmap .form-group input[type="text"]:focus {
    outline: none;
    border-color: #03c75a;
    box-shadow: 0 0 0 3px rgba(3, 199, 90, 0.1);
}
.page-nhnmap .form-actions {
    display: flex;
    gap: 10px;
}
.page-nhnmap .btn-submit {
    flex: 1;
    background: #03c75a;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.page-nhnmap .btn-submit:hover {
    background: #02a74d;
}
.page-nhnmap .btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.page-nhnmap .btn-submit i {
    margin-right: 8px;
}
.page-nhnmap .btn-reset {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}
.page-nhnmap .btn-reset:hover {
    background: #e5e5e5;
}
.page-nhnmap .btn-reset i {
    margin-right: 8px;
}
.page-nhnmap .nhnmap-error {
    background: #fff5f5;
    border: 1px solid #fcc;
    color: #c53030;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.page-nhnmap .nhnmap-error i {
    margin-right: 10px;
    font-size: 18px;
}
.page-nhnmap .nhnmap-empty {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}
.page-nhnmap .nhnmap-empty i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}
.page-nhnmap .nhnmap-output {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}
.page-nhnmap .output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
}
.page-nhnmap .output-header h3 {
    margin: 0;
    font-size: 15px;
    color: #333;
}
.page-nhnmap .output-header h3 i {
    margin-right: 8px;
    color: #03c75a;
}
.page-nhnmap .result-count {
    background: #03c75a;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}
.page-nhnmap .output-content {
    padding: 0;
}
.page-nhnmap .table-responsive {
    overflow-x: auto;
}
.page-nhnmap .result-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.page-nhnmap .result-table th,
.page-nhnmap .result-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}
.page-nhnmap .result-table thead th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    border-bottom: 2px solid #e5e5e5;
}
.page-nhnmap .result-table tbody tr:hover {
    background: #f8f9fa;
}
.page-nhnmap .result-table .col-no {
    width: 50px;
    text-align: center;
    color: #888;
}
.page-nhnmap .result-table .col-image {
    width: 80px;
}
.page-nhnmap .result-table .col-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}
.page-nhnmap .result-table .col-image .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #f5f5f5;
    border-radius: 4px;
    color: #ccc;
    font-size: 20px;
}
.page-nhnmap .result-table .col-name {
    min-width: 150px;
}
.page-nhnmap .result-table .col-name a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
}
.page-nhnmap .result-table .col-name a:hover {
    color: #03c75a;
    text-decoration: underline;
}
.page-nhnmap .result-table .col-name .options {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 4px;
    line-height: 1.4;
}
.page-nhnmap .result-table .col-category {
    white-space: nowrap;
    color: #666;
}
.page-nhnmap .result-table .col-address {
    min-width: 200px;
}
.page-nhnmap .result-table .col-address .road-address {
    display: block;
    color: #333;
}
.page-nhnmap .result-table .col-address .common-address {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}
.page-nhnmap .result-table .col-review {
    white-space: nowrap;
}
.page-nhnmap .result-table .col-review .review-visitor,
.page-nhnmap .result-table .col-review .review-blog {
    display: block;
    font-size: 12px;
    color: #666;
}
.page-nhnmap .result-table .col-review i {
    margin-right: 4px;
    color: #03c75a;
}
.page-nhnmap .result-table .col-phone {
    white-space: nowrap;
    color: #666;
}

@media (max-width: 768px) {
    .page-nhnmap {
        padding: 20px 15px;
    }
    .page-nhnmap .nhnmap-header h1 {
        font-size: 1.5rem;
    }
    .page-nhnmap .nhnmap-form {
        padding: 20px 15px;
    }
    .page-nhnmap .form-actions {
        flex-direction: column;
    }
    .page-nhnmap .btn-submit,
    .page-nhnmap .btn-reset {
        width: 100%;
    }
    .page-nhnmap .output-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .page-nhnmap .result-table {
        font-size: 12px;
    }
    .page-nhnmap .result-table th,
    .page-nhnmap .result-table td {
        padding: 8px 10px;
    }
    .page-nhnmap .result-table .col-image img,
    .page-nhnmap .result-table .col-image .no-image {
        width: 40px;
        height: 40px;
    }
}

/* ===== AnimGif ===== */
.page-animgif {
    padding: 30px 0;
}
.page-animgif .animgif-container {
    max-width: 800px;
    margin: 0 auto;
}
.page-animgif .animgif-header {
    text-align: center;
    margin-bottom: 30px;
}
.page-animgif .animgif-header h1 {
    font-size: 2rem;
    color: #333;
    margin: 0 0 10px;
}
.page-animgif .animgif-header h1 i {
    color: #9c27b0;
    margin-right: 10px;
}
.page-animgif .animgif-desc {
    color: #666;
    font-size: 14px;
    margin: 0;
}
.page-animgif .animgif-form {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}
.page-animgif .form-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}
.page-animgif .form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.page-animgif .section-title {
    font-size: 15px;
    color: #333;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.page-animgif .section-title i {
    margin-right: 8px;
    color: #9c27b0;
}
.page-animgif .form-group {
    margin-bottom: 20px;
}
.page-animgif .form-group:last-child {
    margin-bottom: 0;
}
.page-animgif .form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}
.page-animgif .form-group label i {
    margin-right: 6px;
    color: #9c27b0;
}
.page-animgif .label-required {
    background: #e53935;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: 500;
}
.page-animgif .label-hint {
    font-weight: 400;
    color: #888;
    font-size: 12px;
    margin-left: 8px;
}
.page-animgif .form-hint {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 12px;
}
.page-animgif .form-row {
    display: flex;
    gap: 20px;
}
.page-animgif .form-row .form-group {
    flex: 1;
}
.page-animgif .form-group input[type="text"],
.page-animgif .form-group input[type="number"],
.page-animgif .form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.page-animgif .form-group input:focus,
.page-animgif .form-group select:focus {
    outline: none;
    border-color: #9c27b0;
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
}
.page-animgif .input-with-unit {
    display: flex;
    align-items: center;
    gap: 10px;
}
.page-animgif .input-with-unit input {
    width: 120px;
}
.page-animgif .input-with-unit .unit {
    color: #666;
    font-size: 13px;
}
.page-animgif .color-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}
.page-animgif .color-input-wrapper input[type="color"] {
    width: 50px;
    height: 36px;
    padding: 2px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}
.page-animgif .color-input-wrapper .color-value {
    font-family: monospace;
    font-size: 13px;
    color: #666;
}
/* 파일 업로드 영역 */
.page-animgif .file-upload-area {
    position: relative;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.2s;
    min-height: 150px;
}
.page-animgif .file-upload-area:hover,
.page-animgif .file-upload-area.dragover {
    border-color: #9c27b0;
    background: #faf5fb;
}
.page-animgif .file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.page-animgif .file-upload-placeholder {
    color: #888;
}
.page-animgif .file-upload-placeholder i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 15px;
    display: block;
}
.page-animgif .file-upload-placeholder p {
    margin: 0 0 5px;
    font-size: 15px;
}
.page-animgif .file-upload-placeholder span {
    font-size: 12px;
    color: #aaa;
}
.page-animgif .file-preview {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.page-animgif .preview-item {
    position: relative;
    width: 80px;
    height: 80px;
}
.page-animgif .preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}
.page-animgif .preview-index {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #9c27b0;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 위치 그리드 */
.page-animgif .position-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    max-width: 200px;
}
.page-animgif .position-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}
.page-animgif .position-cell:hover {
    background: #eee;
}
.page-animgif .position-cell input {
    display: none;
}
.page-animgif .position-cell input:checked + span {
    color: #9c27b0;
}
.page-animgif .position-cell:has(input:checked) {
    background: #f3e5f5;
    border-color: #9c27b0;
}
.page-animgif .position-cell span {
    font-size: 18px;
    color: #666;
}
/* 버튼 */
.page-animgif .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}
.page-animgif .btn-submit {
    flex: 1;
    background: #9c27b0;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.page-animgif .btn-submit:hover {
    background: #7b1fa2;
}
.page-animgif .btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.page-animgif .btn-submit i {
    margin-right: 8px;
}
.page-animgif .btn-reset {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}
.page-animgif .btn-reset:hover {
    background: #e5e5e5;
}
.page-animgif .btn-reset i {
    margin-right: 8px;
}
/* 에러/출력 */
.page-animgif .animgif-error {
    background: #fff5f5;
    border: 1px solid #fcc;
    color: #c53030;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.page-animgif .animgif-error i {
    margin-right: 10px;
    font-size: 18px;
}
.page-animgif .animgif-output {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}
.page-animgif .output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
}
.page-animgif .output-header h3 {
    margin: 0;
    font-size: 15px;
    color: #333;
}
.page-animgif .output-header h3 i {
    margin-right: 8px;
    color: #4caf50;
}
.page-animgif .btn-download {
    background: #9c27b0;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s;
}
.page-animgif .btn-download:hover {
    background: #7b1fa2;
}
.page-animgif .btn-download i {
    margin-right: 6px;
}
.page-animgif .output-content {
    padding: 20px;
    text-align: center;
    background: #f9f9f9;
}
.page-animgif .result-gif {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .page-animgif {
        padding: 20px 15px;
    }
    .page-animgif .animgif-header h1 {
        font-size: 1.5rem;
    }
    .page-animgif .animgif-form {
        padding: 20px 15px;
    }
    .page-animgif .form-row {
        flex-direction: column;
        gap: 0;
    }
    .page-animgif .form-actions {
        flex-direction: column;
    }
    .page-animgif .btn-submit,
    .page-animgif .btn-reset {
        width: 100%;
    }
    .page-animgif .output-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .page-animgif .preview-item {
        width: 60px;
        height: 60px;
    }
}

/* ===== Beautify Code ===== */
.page-beautify {
    padding: 30px 0;
}
.page-beautify .beautify-container {
    max-width: 900px;
    margin: 0 auto;
}
.page-beautify .beautify-header {
    text-align: center;
    margin-bottom: 30px;
}
.page-beautify .beautify-header h1 {
    font-size: 2rem;
    color: #333;
    margin: 0 0 10px;
}
.page-beautify .beautify-header h1 i {
    color: #2196f3;
    margin-right: 10px;
}
.page-beautify .beautify-desc {
    color: #666;
    font-size: 14px;
    margin: 0;
}
.page-beautify .beautify-form {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 25px;
}
.page-beautify .form-group {
    margin-bottom: 20px;
}
.page-beautify .form-group:last-child {
    margin-bottom: 0;
}
.page-beautify .form-group label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 14px;
}
.page-beautify .form-group label i {
    margin-right: 8px;
    color: #2196f3;
}
.page-beautify .label-required {
    background: #e53935;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: 500;
}
/* 코드 유형 버튼 그룹 */
.page-beautify .code-type-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.page-beautify .code-type-btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0;
    font-weight: 500;
}
.page-beautify .code-type-btn:hover {
    background: #e3f2fd;
    border-color: #90caf9;
}
.page-beautify .code-type-btn.active {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #1565c0;
}
.page-beautify .code-type-btn input {
    display: none;
}
.page-beautify .code-type-btn span {
    display: flex;
    align-items: center;
}
.page-beautify .code-type-btn span i {
    margin-right: 8px;
    font-size: 16px;
}
/* 텍스트 영역 */
.page-beautify textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafafa;
}
.page-beautify textarea:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    background: #fff;
}
.page-beautify textarea::placeholder {
    color: #aaa;
    font-family: inherit;
}
.page-beautify textarea[readonly] {
    background: #f0f7ff;
    cursor: default;
}
/* 버튼 */
.page-beautify .form-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.page-beautify .btn-submit {
    flex: 1;
    background: #2196f3;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.page-beautify .btn-submit:hover {
    background: #1976d2;
}
.page-beautify .btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.page-beautify .btn-submit i {
    margin-right: 8px;
}
.page-beautify .btn-reset {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}
.page-beautify .btn-reset:hover {
    background: #e5e5e5;
}
.page-beautify .btn-reset i {
    margin-right: 8px;
}
.page-beautify .btn-copy-inline {
    margin-left: auto;
    background: #fff;
    border: 1px solid #ddd;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 400;
}
.page-beautify .btn-copy-inline:hover {
    background: #f5f5f5;
    border-color: #2196f3;
    color: #2196f3;
}
.page-beautify .btn-copy-inline i {
    margin-right: 4px;
}

@media (max-width: 768px) {
    .page-beautify {
        padding: 20px 15px;
    }
    .page-beautify .beautify-header h1 {
        font-size: 1.5rem;
    }
    .page-beautify .beautify-form {
        padding: 20px 15px;
    }
    .page-beautify .code-type-group {
        flex-direction: column;
    }
    .page-beautify .code-type-btn {
        justify-content: center;
    }
    .page-beautify .form-actions {
        flex-direction: column;
    }
    .page-beautify .btn-submit,
    .page-beautify .btn-reset {
        width: 100%;
    }
    .page-beautify textarea {
        font-size: 12px;
    }
}

/* ===== Datalab ===== */
.page-datalab {
    padding: 30px 0;
}
.page-datalab .datalab-container {
    max-width: 1000px;
    margin: 0 auto;
}
.page-datalab .datalab-header {
    text-align: center;
    margin-bottom: 30px;
}
.page-datalab .datalab-header h1 {
    font-size: 2rem;
    color: #333;
    margin: 0 0 10px;
}
.page-datalab .datalab-header h1 i {
    color: #00c73c;
    margin-right: 10px;
}
.page-datalab .datalab-desc {
    color: #666;
    font-size: 14px;
    margin: 0;
}
.page-datalab .datalab-form {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}
.page-datalab .form-group {
    margin-bottom: 20px;
}
.page-datalab .form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}
.page-datalab .form-group label i {
    margin-right: 6px;
    color: #00c73c;
}
.page-datalab .label-required {
    background: #e53935;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: 500;
}
.page-datalab .form-row {
    display: flex;
    gap: 20px;
}
.page-datalab .form-row .form-group {
    flex: 1;
}
.page-datalab .form-group input[type="text"],
.page-datalab .form-group input[type="date"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.page-datalab .form-group input:focus {
    outline: none;
    border-color: #00c73c;
    box-shadow: 0 0 0 3px rgba(0, 199, 60, 0.1);
}
.page-datalab .form-actions {
    display: flex;
    gap: 10px;
}
.page-datalab .btn-submit {
    flex: 1;
    background: #00c73c;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.page-datalab .btn-submit:hover {
    background: #00a832;
}
.page-datalab .btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.page-datalab .btn-submit i {
    margin-right: 8px;
}
.page-datalab .btn-reset {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}
.page-datalab .btn-reset:hover {
    background: #e5e5e5;
}
.page-datalab .btn-reset i {
    margin-right: 8px;
}
.page-datalab .datalab-error {
    background: #fff5f5;
    border: 1px solid #fcc;
    color: #c53030;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.page-datalab .datalab-error i {
    margin-right: 10px;
    font-size: 18px;
}
.page-datalab .datalab-empty {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}
.page-datalab .datalab-empty i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}
.page-datalab .datalab-output {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}
.page-datalab .output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
    flex-wrap: wrap;
    gap: 10px;
}
.page-datalab .output-header h3 {
    margin: 0;
    font-size: 15px;
    color: #333;
}
.page-datalab .output-header h3 i {
    margin-right: 8px;
    color: #00c73c;
}
.page-datalab .result-info {
    display: flex;
    gap: 15px;
    font-size: 13px;
}
.page-datalab .total-value {
    background: #00c73c;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}
.page-datalab .date-range {
    color: #888;
    padding: 4px 0;
}
.page-datalab .output-content {
    padding: 20px;
}
.page-datalab .chart-container {
    height: 300px;
    position: relative;
}
.page-datalab .output-table {
    border-top: 1px solid #e5e5e5;
    max-height: 400px;
    overflow-y: auto;
}
.page-datalab .trend-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.page-datalab .trend-table th,
.page-datalab .trend-table td {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.page-datalab .trend-table thead th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    position: sticky;
    top: 0;
}
.page-datalab .trend-table tbody tr:hover {
    background: #f8f9fa;
}
.page-datalab .trend-table .col-date {
    width: 120px;
    color: #666;
}
.page-datalab .trend-table .col-value {
    width: 100px;
    font-weight: 600;
    color: #00c73c;
}
.page-datalab .trend-table .col-bar {
    width: auto;
}
.page-datalab .bar-wrapper {
    background: #f0f0f0;
    border-radius: 3px;
    height: 16px;
    overflow: hidden;
}
.page-datalab .bar {
    background: linear-gradient(90deg, #00c73c, #00e676);
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    .page-datalab {
        padding: 20px 15px;
    }
    .page-datalab .datalab-header h1 {
        font-size: 1.5rem;
    }
    .page-datalab .datalab-form {
        padding: 20px 15px;
    }
    .page-datalab .form-row {
        flex-direction: column;
        gap: 0;
    }
    .page-datalab .form-actions {
        flex-direction: column;
    }
    .page-datalab .btn-submit,
    .page-datalab .btn-reset {
        width: 100%;
    }
    .page-datalab .output-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .page-datalab .result-info {
        flex-direction: column;
        gap: 8px;
    }
    .page-datalab .chart-container {
        height: 200px;
    }
    .page-datalab .trend-table .col-bar {
        display: none;
    }
}

/* ===== Device Info ===== */
.page-device {
    padding: 30px 0;
}
.page-device .device-container {
    max-width: 900px;
    margin: 0 auto;
}
.page-device .device-header {
    text-align: center;
    margin-bottom: 30px;
}
.page-device .device-header h1 {
    font-size: 2rem;
    color: #333;
    margin: 0 0 10px;
}
.page-device .device-header h1 i {
    color: #5c6bc0;
    margin-right: 10px;
}
.page-device .device-desc {
    color: #666;
    font-size: 14px;
    margin: 0;
}
.page-device .device-content {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}
.page-device .device-section {
    padding: 25px;
    border-bottom: 1px solid #e5e5e5;
}
.page-device .device-section:last-child {
    border-bottom: none;
}
.page-device .device-section h3 {
    margin: 0 0 20px;
    font-size: 16px;
    color: #333;
}
.page-device .device-section h3 i {
    margin-right: 8px;
    color: #5c6bc0;
}
/* 정보 그리드 */
.page-device .info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.page-device .info-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}
.page-device .info-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}
.page-device .info-value {
    font-size: 20px;
    font-weight: 700;
    color: #5c6bc0;
    margin-bottom: 5px;
}
.page-device .info-hint {
    font-size: 11px;
    color: #aaa;
}
/* 정보 테이블 */
.page-device .info-table {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}
.page-device .info-row {
    display: flex;
    border-bottom: 1px solid #eee;
}
.page-device .info-row:last-child {
    border-bottom: none;
}
.page-device .info-key {
    width: 180px;
    padding: 12px 15px;
    font-weight: 600;
    color: #555;
    background: #f0f0f0;
    flex-shrink: 0;
}
.page-device .info-val {
    flex: 1;
    padding: 12px 15px;
    color: #333;
    word-break: break-all;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
}
/* 브라우저 태그 */
.page-device .browser-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.page-device .browser-tag {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}
.page-device .browser-tag.active {
    background: #5c6bc0;
    color: #fff;
}
.page-device .browser-tag.inactive {
    background: #f0f0f0;
    color: #999;
}
/* 푸터 */
.page-device .device-footer {
    margin-top: 20px;
    text-align: center;
}
.page-device .device-footer p {
    background: #e8eaf6;
    color: #5c6bc0;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    margin: 0;
}
.page-device .device-footer p i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .page-device {
        padding: 20px 15px;
    }
    .page-device .device-header h1 {
        font-size: 1.5rem;
    }
    .page-device .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-device .info-card {
        padding: 15px;
    }
    .page-device .info-value {
        font-size: 16px;
    }
    .page-device .info-row {
        flex-direction: column;
    }
    .page-device .info-key {
        width: 100%;
        padding: 10px 15px;
    }
    .page-device .info-val {
        padding: 10px 15px;
        font-size: 12px;
    }
    .page-device .browser-tag {
        padding: 6px 12px;
        font-size: 12px;
    }
}

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

/* ========================================
   Annual Leave Calculator
   ======================================== */
.page-annual-leave { padding: 30px 20px; max-width: 800px; margin: 0 auto; }
.page-annual-leave .annual-leave-container { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); overflow: hidden; }
.page-annual-leave .annual-leave-header { background: linear-gradient(135deg, #3a7afe 0%, #2f66d4 100%); color: #fff; padding: 40px 30px; text-align: center; }
.page-annual-leave .annual-leave-header h1 { margin: 0 0 10px 0; font-size: 1.8rem; font-weight: 700; }
.page-annual-leave .annual-leave-header h1 i { margin-right: 10px; }
.page-annual-leave .annual-leave-desc { margin: 0; opacity: 0.9; font-size: 0.95rem; }
.page-annual-leave .annual-leave-form { padding: 30px; }
.page-annual-leave .form-group { margin-bottom: 20px; }
.page-annual-leave .form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #333; }
.page-annual-leave .form-group label i { margin-right: 6px; color: #3a7afe; }
.page-annual-leave .label-required { background: #e74c3c; color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px; margin-left: 6px; }
.page-annual-leave .criterion-group { display: flex; gap: 10px; flex-wrap: wrap; }
.page-annual-leave .criterion-btn { flex: 1; min-width: 140px; display: flex; align-items: center; justify-content: center; padding: 12px 20px; border: 2px solid #e9edf2; border-radius: 10px; cursor: pointer; transition: all 0.2s; background: #fff; }
.page-annual-leave .criterion-btn input { display: none; }
.page-annual-leave .criterion-btn span { font-weight: 600; color: #666; }
.page-annual-leave .criterion-btn.active { border-color: #3a7afe; background: #eef4ff; }
.page-annual-leave .criterion-btn.active span { color: #3a7afe; }
.page-annual-leave .form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.page-annual-leave .form-group input[type="date"],
.page-annual-leave .form-group input[type="number"] { width: 100%; height: 50px; padding: 0 15px; border: 1px solid #e9edf2; border-radius: 10px; font-size: 16px; }
.page-annual-leave .form-group input:focus { outline: none; border-color: #3a7afe; box-shadow: 0 0 0 3px rgba(58, 122, 254, 0.15); }
.page-annual-leave .input-with-unit { display: flex; align-items: center; gap: 10px; }
.page-annual-leave .input-with-unit input { flex: 1; }
.page-annual-leave .input-with-unit .unit { padding: 12px 16px; background: #f3f6ff; border: 1px dashed #e9edf2; border-radius: 10px; font-weight: 600; color: #666; min-width: 60px; text-align: center; }
.page-annual-leave .form-hint { display: block; margin-top: 6px; font-size: 12px; color: #888; }
.page-annual-leave .form-actions { display: flex; gap: 12px; margin-top: 30px; }
.page-annual-leave .btn-submit { flex: 1; padding: 14px 24px; background: linear-gradient(135deg, #3a7afe 0%, #2f66d4 100%); color: #fff; border: none; border-radius: 10px; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 15px rgba(58, 122, 254, 0.3); }
.page-annual-leave .btn-submit:hover { transform: translateY(-1px); }
.page-annual-leave .btn-reset { padding: 14px 24px; background: #f5f5f5; color: #666; border: none; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; }
.page-annual-leave .btn-reset:hover { background: #eee; }
.page-annual-leave .annual-leave-result { margin: 0 30px 30px; border: 2px solid #3a7afe; border-radius: 12px; overflow: hidden; }
.page-annual-leave .result-header { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff; padding: 15px 20px; }
.page-annual-leave .result-header h3 { margin: 0; font-size: 1rem; }
.page-annual-leave .result-content { padding: 25px; background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%); color: #fff; }
.page-annual-leave .result-main { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-bottom: 15px; }
.page-annual-leave .result-label { font-size: 1rem; opacity: 0.8; }
.page-annual-leave .result-value { font-size: 3rem; font-weight: 800; color: #3a7afe; }
.page-annual-leave .result-unit { font-size: 1.2rem; font-weight: 600; }
.page-annual-leave .result-note { text-align: center; opacity: 0.8; margin: 0; font-size: 0.9rem; }
.page-annual-leave .result-warning { text-align: center; background: rgba(58, 122, 254, 0.2); padding: 10px; border-radius: 8px; margin-top: 15px; font-size: 0.85rem; }
.page-annual-leave .annual-leave-info { margin: 0 30px 30px; padding: 20px; background: #f8fafc; border-radius: 10px; border-left: 4px solid #3a7afe; }
.page-annual-leave .annual-leave-info h4 { margin: 0 0 12px 0; color: #333; font-size: 0.95rem; }
.page-annual-leave .annual-leave-info ul { margin: 0; padding-left: 20px; }
.page-annual-leave .annual-leave-info li { margin-bottom: 6px; font-size: 0.9rem; color: #555; }
@media (max-width: 768px) {
    .page-annual-leave { padding: 20px 15px; }
    .page-annual-leave .annual-leave-header { padding: 30px 20px; }
    .page-annual-leave .annual-leave-header h1 { font-size: 1.4rem; }
    .page-annual-leave .annual-leave-form { padding: 20px; }
    .page-annual-leave .form-row { grid-template-columns: 1fr; }
    .page-annual-leave .criterion-btn { min-width: 100%; }
    .page-annual-leave .form-actions { flex-direction: column; }
    .page-annual-leave .annual-leave-result, .page-annual-leave .annual-leave-info { margin: 0 20px 20px; }
}

/* ========================================
   Weekly Holiday Pay Calculator
   ======================================== */
.page-weekly-pay { padding: 30px 20px; max-width: 700px; margin: 0 auto; }
.page-weekly-pay .weekly-pay-container { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); overflow: hidden; }
.page-weekly-pay .weekly-pay-header { background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: #fff; padding: 40px 30px; text-align: center; }
.page-weekly-pay .weekly-pay-header h1 { margin: 0 0 10px 0; font-size: 1.8rem; font-weight: 700; }
.page-weekly-pay .weekly-pay-header h1 i { margin-right: 10px; }
.page-weekly-pay .weekly-pay-desc { margin: 0; opacity: 0.9; font-size: 0.95rem; }
.page-weekly-pay .weekly-pay-form { padding: 30px; }
.page-weekly-pay .form-group { margin-bottom: 20px; }
.page-weekly-pay .form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #333; }
.page-weekly-pay .form-group label i { margin-right: 6px; color: #10b981; }
.page-weekly-pay .label-required { background: #e74c3c; color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px; margin-left: 6px; }
.page-weekly-pay .input-with-unit { display: flex; align-items: center; gap: 10px; }
.page-weekly-pay .input-with-unit input { flex: 1; height: 55px; padding: 0 15px; border: 1px solid #e9edf2; border-radius: 10px; font-size: 18px; }
.page-weekly-pay .input-with-unit input:focus { outline: none; border-color: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15); }
.page-weekly-pay .input-with-unit .unit { padding: 15px 20px; background: #ecfdf5; border: 1px dashed #a7f3d0; border-radius: 10px; font-weight: 700; color: #059669; min-width: 60px; text-align: center; }
.page-weekly-pay .form-hint { display: block; margin-top: 6px; font-size: 12px; color: #888; }
.page-weekly-pay .form-actions { display: flex; gap: 12px; margin-top: 30px; }
.page-weekly-pay .btn-submit { flex: 1; padding: 16px 24px; background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: #fff; border: none; border-radius: 10px; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); }
.page-weekly-pay .btn-submit:hover { transform: translateY(-1px); }
.page-weekly-pay .btn-reset { padding: 16px 24px; background: #f5f5f5; color: #666; border: none; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; }
.page-weekly-pay .btn-reset:hover { background: #eee; }
.page-weekly-pay .weekly-pay-result { margin: 0 30px 30px; border: 2px solid #10b981; border-radius: 12px; overflow: hidden; }
.page-weekly-pay .result-header { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff; padding: 15px 20px; }
.page-weekly-pay .result-header h3 { margin: 0; font-size: 1rem; }
.page-weekly-pay .result-content { padding: 25px; background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%); color: #fff; }
.page-weekly-pay .result-main { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-bottom: 20px; }
.page-weekly-pay .result-label { font-size: 1rem; opacity: 0.8; }
.page-weekly-pay .result-value { font-size: 2.5rem; font-weight: 800; color: #10b981; }
.page-weekly-pay .result-unit { font-size: 1.2rem; font-weight: 600; }
.page-weekly-pay .result-details { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 15px; }
.page-weekly-pay .detail-item { background: rgba(16, 185, 129, 0.15); padding: 12px 20px; border-radius: 8px; text-align: center; }
.page-weekly-pay .detail-label { display: block; font-size: 0.8rem; opacity: 0.7; margin-bottom: 4px; }
.page-weekly-pay .detail-value { font-size: 1.3rem; font-weight: 700; color: #10b981; }
.page-weekly-pay .detail-unit { font-size: 0.85rem; margin-left: 4px; }
.page-weekly-pay .result-note { text-align: center; opacity: 0.8; margin: 0; font-size: 0.9rem; }
.page-weekly-pay .weekly-pay-info { margin: 0 30px 30px; padding: 20px; background: #f0fdf4; border-radius: 10px; border-left: 4px solid #10b981; }
.page-weekly-pay .weekly-pay-info h4 { margin: 0 0 12px 0; color: #333; font-size: 0.95rem; }
.page-weekly-pay .weekly-pay-info ul { margin: 0; padding-left: 20px; }
.page-weekly-pay .weekly-pay-info li { margin-bottom: 6px; font-size: 0.9rem; color: #555; }
@media (max-width: 768px) {
    .page-weekly-pay { padding: 20px 15px; }
    .page-weekly-pay .weekly-pay-header { padding: 30px 20px; }
    .page-weekly-pay .weekly-pay-header h1 { font-size: 1.4rem; }
    .page-weekly-pay .weekly-pay-form { padding: 20px; }
    .page-weekly-pay .form-actions { flex-direction: column; }
    .page-weekly-pay .weekly-pay-result, .page-weekly-pay .weekly-pay-info { margin: 0 20px 20px; }
    .page-weekly-pay .result-details { flex-direction: column; gap: 10px; }
}

/* ========================================
   User Agent Viewer
   ======================================== */
.page-useragent { padding: 30px 20px; max-width: 900px; margin: 0 auto; }
.page-useragent .useragent-container { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); overflow: hidden; }
.page-useragent .useragent-header { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); color: #fff; padding: 40px 30px; text-align: center; }
.page-useragent .useragent-header h1 { margin: 0 0 10px 0; font-size: 1.8rem; font-weight: 700; }
.page-useragent .useragent-header h1 i { margin-right: 10px; }
.page-useragent .useragent-desc { margin: 0; opacity: 0.9; font-size: 0.95rem; }
.page-useragent .useragent-content { padding: 30px; }
.page-useragent .useragent-section { margin-bottom: 25px; }
.page-useragent .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.page-useragent .section-header h3 { margin: 0; font-size: 1rem; color: #333; }
.page-useragent .section-header h3 i { margin-right: 8px; color: #6366f1; }
.page-useragent .btn-copy { padding: 6px 12px; background: #6366f1; color: #fff; border: none; border-radius: 6px; font-size: 12px; cursor: pointer; }
.page-useragent .btn-copy:hover { background: #4f46e5; }
.page-useragent textarea { width: 100%; height: 80px; padding: 15px; border: 1px solid #e5e7eb; border-radius: 10px; font-family: Consolas, Monaco, monospace; font-size: 13px; background: #f9fafb; resize: none; color: #374151; }
.page-useragent .ua-analysis { background: #f9fafb; border-radius: 10px; overflow: hidden; }
.page-useragent .ua-table { width: 100%; border-collapse: collapse; }
.page-useragent .ua-table th, .page-useragent .ua-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid #e5e7eb; }
.page-useragent .ua-table th { width: 140px; background: #f3f4f6; font-weight: 600; color: #374151; }
.page-useragent .ua-table th i { margin-right: 8px; color: #6366f1; }
.page-useragent .ua-table td { color: #1f2937; font-weight: 500; }
.page-useragent .ua-table tr:last-child th, .page-useragent .ua-table tr:last-child td { border-bottom: none; }
.page-useragent .useragent-info { margin: 0 30px 30px; padding: 20px; background: #eef2ff; border-radius: 10px; border-left: 4px solid #6366f1; }
.page-useragent .useragent-info h4 { margin: 0 0 10px 0; color: #333; font-size: 0.95rem; }
.page-useragent .useragent-info p { margin: 0; font-size: 0.9rem; color: #555; line-height: 1.6; }
@media (max-width: 768px) {
    .page-useragent { padding: 20px 15px; }
    .page-useragent .useragent-header { padding: 30px 20px; }
    .page-useragent .useragent-header h1 { font-size: 1.4rem; }
    .page-useragent .useragent-content { padding: 20px; }
    .page-useragent .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .page-useragent .ua-table th { width: 100px; padding: 12px 15px; font-size: 0.85rem; }
    .page-useragent .ua-table td { padding: 12px 15px; font-size: 0.85rem; }
    .page-useragent .useragent-info { margin: 0 20px 20px; }
}

/* ========================================
   Password Generator
   ======================================== */
.page-password-gen { padding: 30px 20px; max-width: 800px; margin: 0 auto; }
.page-password-gen .password-gen-container { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); overflow: hidden; }
.page-password-gen .password-gen-header { background: linear-gradient(135deg, #0f866c 0%, #047857 100%); color: #fff; padding: 40px 30px; text-align: center; }
.page-password-gen .password-gen-header h1 { margin: 0 0 10px 0; font-size: 1.8rem; font-weight: 700; }
.page-password-gen .password-gen-header h1 i { margin-right: 10px; }
.page-password-gen .password-gen-desc { margin: 0; opacity: 0.9; font-size: 0.95rem; }
.page-password-gen .password-gen-output { padding: 30px; background: #f0fdf4; border-bottom: 1px solid #d1fae5; }
.page-password-gen .password-display-wrapper { display: flex; gap: 10px; }
.page-password-gen .password-display-wrapper input { flex: 1; height: 60px; padding: 0 20px; border: 2px solid #10b981; border-radius: 12px; font-family: Consolas, Monaco, monospace; font-size: 18px; font-weight: 600; background: #fff; color: #1f2937; }
.page-password-gen .btn-icon { width: 60px; height: 60px; background: #10b981; color: #fff; border: none; border-radius: 12px; font-size: 20px; cursor: pointer; }
.page-password-gen .btn-icon:hover { background: #059669; }
.page-password-gen .password-strength { display: flex; align-items: center; gap: 15px; margin-top: 15px; }
.page-password-gen .strength-bar { flex: 1; height: 6px; background: #e5e7eb; border-radius: 3px; }
.page-password-gen .strength-text { font-weight: 700; font-size: 0.9rem; }
.page-password-gen .password-gen-form { padding: 30px; }
.page-password-gen .form-group { margin-bottom: 25px; }
.page-password-gen .form-group label { display: block; margin-bottom: 10px; font-weight: 600; color: #333; }
.page-password-gen .form-group label i { margin-right: 6px; color: #0f866c; }
.page-password-gen .length-control { display: flex; align-items: center; gap: 15px; }
.page-password-gen .length-control input[type="range"] { flex: 1; height: 8px; -webkit-appearance: none; background: #e5e7eb; border-radius: 4px; outline: none; }
.page-password-gen .length-control input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; background: #0f866c; border-radius: 50%; cursor: pointer; }
.page-password-gen .length-control input[type="number"] { width: 70px; height: 45px; text-align: center; border: 1px solid #d1d5db; border-radius: 8px; font-size: 16px; font-weight: 600; }
.page-password-gen .char-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.page-password-gen .checkbox-item { display: flex; align-items: center; gap: 10px; padding: 12px 15px; background: #f9fafb; border-radius: 8px; cursor: pointer; }
.page-password-gen .checkbox-item:hover { background: #f3f4f6; }
.page-password-gen .checkbox-item input { width: 18px; height: 18px; accent-color: #0f866c; }
.page-password-gen .form-actions { margin-top: 20px; }
.page-password-gen .btn-submit { width: 100%; padding: 16px 24px; background: linear-gradient(135deg, #0f866c 0%, #047857 100%); color: #fff; border: none; border-radius: 10px; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 15px rgba(15, 134, 108, 0.3); }
.page-password-gen .btn-submit:hover { transform: translateY(-1px); }
.page-password-gen .multi-password-section { margin: 0 30px 30px; padding: 20px; background: #f9fafb; border-radius: 12px; }
.page-password-gen .multi-password-section h4 { margin: 0 0 15px 0; font-size: 1rem; color: #333; }
.page-password-gen .multi-control { display: flex; gap: 10px; margin-bottom: 15px; }
.page-password-gen .multi-control input { width: 80px; height: 42px; text-align: center; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; }
.page-password-gen .btn-secondary { padding: 10px 20px; background: #374151; color: #fff; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; }
.page-password-gen .btn-secondary:hover { background: #1f2937; }
.page-password-gen .multi-password-section textarea { width: 100%; height: 150px; padding: 15px; border: 1px solid #e5e7eb; border-radius: 8px; font-family: Consolas, Monaco, monospace; font-size: 13px; resize: none; }
.page-password-gen .password-gen-info { margin: 0 30px 30px; padding: 20px; background: #ecfdf5; border-radius: 10px; border-left: 4px solid #0f866c; }
.page-password-gen .password-gen-info h4 { margin: 0 0 12px 0; color: #333; font-size: 0.95rem; }
.page-password-gen .password-gen-info ul { margin: 0; padding-left: 20px; }
.page-password-gen .password-gen-info li { margin-bottom: 6px; font-size: 0.9rem; color: #555; }
@media (max-width: 768px) {
    .page-password-gen { padding: 20px 15px; }
    .page-password-gen .password-gen-header { padding: 30px 20px; }
    .page-password-gen .password-gen-header h1 { font-size: 1.4rem; }
    .page-password-gen .password-gen-output, .page-password-gen .password-gen-form { padding: 20px; }
    .page-password-gen .char-options { grid-template-columns: 1fr; }
    .page-password-gen .multi-password-section, .page-password-gen .password-gen-info { margin: 0 20px 20px; }
}

/* ========================================
   URL Decoder/Encoder
   ======================================== */
.page-dencoder { padding: 30px 20px; max-width: 800px; margin: 0 auto; }
.page-dencoder .dencoder-container { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); overflow: hidden; }
.page-dencoder .dencoder-header { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: #fff; padding: 40px 30px; text-align: center; }
.page-dencoder .dencoder-header h1 { margin: 0 0 10px 0; font-size: 1.8rem; font-weight: 700; }
.page-dencoder .dencoder-header h1 i { margin-right: 10px; }
.page-dencoder .dencoder-desc { margin: 0; opacity: 0.9; font-size: 0.95rem; }
.page-dencoder .dencoder-form { padding: 30px; }
.page-dencoder .form-group { margin-bottom: 20px; }
.page-dencoder .form-group label { display: flex; align-items: center; margin-bottom: 10px; font-weight: 600; color: #333; }
.page-dencoder .form-group label i { margin-right: 6px; color: #f59e0b; }
.page-dencoder .btn-clear { margin-left: auto; padding: 4px 10px; background: #f3f4f6; color: #666; border: none; border-radius: 4px; font-size: 12px; cursor: pointer; }
.page-dencoder .btn-clear:hover { background: #e5e7eb; }
.page-dencoder textarea { width: 100%; padding: 15px; border: 2px solid #e5e7eb; border-radius: 12px; font-family: Consolas, Monaco, monospace; font-size: 14px; resize: vertical; }
.page-dencoder textarea:focus { outline: none; border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15); }
.page-dencoder .form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.page-dencoder .btn-decode, .page-dencoder .btn-encode { flex: 1; min-width: 150px; padding: 14px 24px; border: none; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; }
.page-dencoder .btn-decode { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); color: #fff; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); }
.page-dencoder .btn-decode:hover { transform: translateY(-1px); }
.page-dencoder .btn-encode { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: #fff; box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3); }
.page-dencoder .btn-encode:hover { transform: translateY(-1px); }
.page-dencoder .btn-copy { padding: 14px 20px; background: #374151; color: #fff; border: none; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.page-dencoder .btn-copy:hover { background: #1f2937; }
.page-dencoder .dencoder-info { margin: 0 30px 20px; padding: 20px; background: #fffbeb; border-radius: 10px; border-left: 4px solid #f59e0b; }
.page-dencoder .dencoder-info h4 { margin: 0 0 12px 0; color: #333; font-size: 0.95rem; }
.page-dencoder .dencoder-info ul { margin: 0; padding-left: 20px; }
.page-dencoder .dencoder-info li { margin-bottom: 6px; font-size: 0.9rem; color: #555; }
.page-dencoder .dencoder-examples { margin: 0 30px 30px; padding: 20px; background: #f9fafb; border-radius: 10px; }
.page-dencoder .dencoder-examples h4 { margin: 0 0 15px 0; color: #333; font-size: 0.95rem; }
.page-dencoder .example-list { display: flex; flex-direction: column; gap: 10px; }
.page-dencoder .example-item { display: flex; align-items: flex-start; gap: 10px; }
.page-dencoder .example-label { font-weight: 600; color: #666; min-width: 60px; }
.page-dencoder .example-code { flex: 1; padding: 8px 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; font-family: Consolas, Monaco, monospace; font-size: 12px; word-break: break-all; }
@media (max-width: 768px) {
    .page-dencoder { padding: 20px 15px; }
    .page-dencoder .dencoder-header { padding: 30px 20px; }
    .page-dencoder .dencoder-header h1 { font-size: 1.4rem; }
    .page-dencoder .dencoder-form { padding: 20px; }
    .page-dencoder .form-actions { flex-direction: column; }
    .page-dencoder .btn-decode, .page-dencoder .btn-encode { min-width: 100%; }
    .page-dencoder .dencoder-info, .page-dencoder .dencoder-examples { margin: 0 20px 20px; }
    .page-dencoder .example-item { flex-direction: column; }
}

/* ========================================
   Project Inquiry Form (문의 폼)
   ======================================== */
.page-contact-form { padding: 30px 20px; max-width: 900px; margin: 0 auto; }
.page-contact-form .contact-form-container { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); overflow: hidden; }
.page-contact-form .contact-form-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 50px 30px; text-align: center; }
.page-contact-form .contact-form-header h1 { margin: 0 0 10px 0; font-size: 2rem; font-weight: 700; }
.page-contact-form .contact-form-header h1 i { margin-right: 12px; }
.page-contact-form .contact-form-desc { margin: 0 0 15px 0; opacity: 0.9; font-size: 1rem; }
.page-contact-form .contact-form-required { margin: 0; font-size: 0.85rem; opacity: 0.8; }
.page-contact-form .star { color: #ff6b6b; font-weight: 700; }
.page-contact-form form { padding: 30px; }
.page-contact-form .form-section { margin-bottom: 35px; }
.page-contact-form .section-title { margin: 0 0 8px 0; font-size: 1.1rem; font-weight: 700; color: #333; display: flex; align-items: center; gap: 8px; }
.page-contact-form .section-title i { color: #667eea; }
.page-contact-form .section-desc { margin: 0 0 15px 0; font-size: 0.9rem; color: #666; }
.page-contact-form .checkbox-grid, .page-contact-form .radio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.page-contact-form .checkbox-card, .page-contact-form .radio-card { display: block; cursor: pointer; }
.page-contact-form .checkbox-card input, .page-contact-form .radio-card input { display: none; }
.page-contact-form .checkbox-card .card-content, .page-contact-form .radio-card .card-content { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 15px; border: 2px solid #e5e7eb; border-radius: 12px; transition: all 0.2s; text-align: center; min-height: 80px; }
.page-contact-form .checkbox-card .card-content i { font-size: 1.5rem; margin-bottom: 8px; color: #9ca3af; }
.page-contact-form .checkbox-card input:checked + .card-content, .page-contact-form .radio-card input:checked + .card-content { border-color: #667eea; background: #f0f1ff; }
.page-contact-form .checkbox-card input:checked + .card-content i { color: #667eea; }
.page-contact-form .checkbox-card:hover .card-content, .page-contact-form .radio-card:hover .card-content { border-color: #a5b4fc; }
.page-contact-form .file-upload-area { border: 2px dashed #d1d5db; border-radius: 12px; padding: 30px; text-align: center; cursor: pointer; transition: all 0.2s; position: relative; }
.page-contact-form .file-upload-area:hover, .page-contact-form .file-upload-area.dragover { border-color: #667eea; background: #f9fafb; }
.page-contact-form .file-upload-area.has-file { border-color: #10b981; background: #ecfdf5; }
.page-contact-form .file-input { position: absolute; opacity: 0; width: 100%; height: 100%; top: 0; left: 0; cursor: pointer; }
.page-contact-form .file-upload-content { color: #6b7280; }
.page-contact-form .file-upload-content i { font-size: 2rem; margin-bottom: 10px; display: block; color: #9ca3af; }
.page-contact-form .file-name { margin-top: 10px; font-weight: 600; color: #10b981; }
.page-contact-form textarea { width: 100%; padding: 15px; border: 2px solid #e5e7eb; border-radius: 12px; font-size: 15px; resize: vertical; transition: border-color 0.2s; }
.page-contact-form textarea:focus { outline: none; border-color: #667eea; }
.page-contact-form input[type="text"], .page-contact-form input[type="email"], .page-contact-form input[type="tel"] { width: 100%; height: 50px; padding: 0 15px; border: 2px solid #e5e7eb; border-radius: 10px; font-size: 15px; transition: border-color 0.2s; }
.page-contact-form input[type="text"]:focus, .page-contact-form input[type="email"]:focus, .page-contact-form input[type="tel"]:focus { outline: none; border-color: #667eea; }
.page-contact-form .contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.page-contact-form .form-group { display: flex; flex-direction: column; }
.page-contact-form .form-group label { margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; color: #374151; }
.page-contact-form .privacy-section { background: #f9fafb; padding: 20px; border-radius: 12px; margin-top: 30px; }
.page-contact-form .privacy-agree { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.page-contact-form .privacy-agree input { width: 20px; height: 20px; accent-color: #667eea; }
.page-contact-form .privacy-text { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.page-contact-form .btn-privacy-detail { background: none; border: none; color: #667eea; cursor: pointer; font-size: 0.85rem; }
.page-contact-form .btn-privacy-detail:hover { text-decoration: underline; }
.page-contact-form .form-actions { margin-top: 30px; text-align: center; }
.page-contact-form .btn-submit { padding: 18px 50px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 700; cursor: pointer; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4); transition: transform 0.1s, box-shadow 0.2s; }
.page-contact-form .btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5); }
.page-contact-form .privacy-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; align-items: center; justify-content: center; }
.page-contact-form .privacy-modal.show { display: flex; }
.page-contact-form .privacy-modal-content { background: #fff; padding: 30px; border-radius: 16px; max-width: 500px; width: 90%; position: relative; }
.page-contact-form .privacy-modal-content h4 { margin: 0 0 20px 0; font-size: 1.2rem; }
.page-contact-form .btn-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #9ca3af; }
.page-contact-form .privacy-detail p { margin-bottom: 15px; font-size: 0.9rem; line-height: 1.6; color: #555; }
.page-contact-form .contact-info-box { margin: 30px; padding: 25px; background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%); border-radius: 12px; }
.page-contact-form .contact-info-box h4 { margin: 0 0 15px 0; font-size: 1rem; color: #374151; }
.page-contact-form .contact-info-box ul { margin: 0; padding: 0; list-style: none; }
.page-contact-form .contact-info-box li { margin-bottom: 8px; font-size: 0.95rem; color: #4b5563; }
.page-contact-form .contact-info-box li i { width: 20px; margin-right: 10px; color: #667eea; }
@media (max-width: 768px) {
    .page-contact-form { padding: 20px 15px; }
    .page-contact-form .contact-form-header { padding: 40px 20px; }
    .page-contact-form .contact-form-header h1 { font-size: 1.5rem; }
    .page-contact-form form { padding: 20px; }
    .page-contact-form .checkbox-grid, .page-contact-form .radio-grid { grid-template-columns: repeat(2, 1fr); }
    .page-contact-form .contact-grid { grid-template-columns: 1fr; }
    .page-contact-form .contact-info-box { margin: 20px; }
}
@media (max-width: 480px) {
    .page-contact-form .checkbox-grid, .page-contact-form .radio-grid { grid-template-columns: 1fr; }
}
