/**
 * 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 (Modern) ===== */
.page-char-count {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-char-count .charcount-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-char-count .charcount-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 30px;
    text-align: center;
}

.page-char-count .charcount-header h1 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.page-char-count .charcount-header h1 i {
    margin-right: 10px;
}

.page-char-count .charcount-desc {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

/* 메인 통계 카드 */
.page-char-count .charcount-main-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-bottom: 1px solid #e5e7eb;
}

.page-char-count .main-stat-card {
    display: flex;
    align-items: center;
    padding: 25px;
    border-right: 1px solid #e5e7eb;
}

.page-char-count .main-stat-card:last-child {
    border-right: none;
}

.page-char-count .main-stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 15px;
}

.page-char-count .main-stat-card.total .stat-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.page-char-count .main-stat-card.no-space .stat-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: #fff;
}

.page-char-count .main-stat-card.bytes .stat-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #fff;
}

.page-char-count .stat-content {
    display: flex;
    flex-direction: column;
}

.page-char-count .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.page-char-count .stat-label {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 4px;
}

/* 입력 섹션 */
.page-char-count .charcount-input-section {
    padding: 25px 30px;
    border-bottom: 1px solid #e5e7eb;
}

.page-char-count .input-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.page-char-count .input-header label {
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.page-char-count .input-header label i {
    margin-right: 8px;
    color: #667eea;
}

.page-char-count .input-actions {
    display: flex;
    gap: 8px;
}

.page-char-count .action-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s;
}

.page-char-count .action-btn:hover {
    background: #f3f4f6;
    color: #374151;
    border-color: #d1d5db;
}

.page-char-count .charcount-textarea {
    width: 100%;
    min-height: 150px;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.page-char-count .charcount-textarea:focus {
    outline: none;
    border-color: #667eea;
}

.page-char-count .charcount-textarea::placeholder {
    color: #9ca3af;
}

/* 상세 분석 섹션 */
.page-char-count .charcount-detail-section {
    padding: 25px 30px;
    background: #f9fafb;
}

.page-char-count .charcount-detail-section h3 {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    color: #374151;
    font-weight: 600;
}

.page-char-count .charcount-detail-section h3 i {
    margin-right: 8px;
    color: #667eea;
}

.page-char-count .detail-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.page-char-count .detail-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.page-char-count .detail-stat-card .detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.page-char-count .detail-stat-card.korean .detail-icon {
    background: #fef3c7;
    color: #d97706;
}

.page-char-count .detail-stat-card.english .detail-icon {
    background: #dbeafe;
    color: #2563eb;
}

.page-char-count .detail-stat-card.number .detail-icon {
    background: #d1fae5;
    color: #059669;
}

.page-char-count .detail-stat-card.space .detail-icon {
    background: #e5e7eb;
    color: #6b7280;
}

.page-char-count .detail-stat-card.special .detail-icon {
    background: #fce7f3;
    color: #db2777;
}

.page-char-count .detail-stat-card.newline .detail-icon {
    background: #ede9fe;
    color: #7c3aed;
}

.page-char-count .detail-info {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.page-char-count .detail-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.page-char-count .detail-label {
    font-size: 0.85rem;
    color: #6b7280;
}

.page-char-count .detail-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.page-char-count .detail-bar .bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.page-char-count .detail-stat-card.korean .bar-fill {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.page-char-count .detail-stat-card.english .bar-fill {
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
}

.page-char-count .detail-stat-card.number .bar-fill {
    background: linear-gradient(90deg, #34d399, #10b981);
}

.page-char-count .detail-stat-card.space .bar-fill {
    background: linear-gradient(90deg, #9ca3af, #6b7280);
}

.page-char-count .detail-stat-card.special .bar-fill {
    background: linear-gradient(90deg, #f472b6, #ec4899);
}

.page-char-count .detail-stat-card.newline .bar-fill {
    background: linear-gradient(90deg, #a78bfa, #8b5cf6);
}

/* 추가 정보 */
.page-char-count .charcount-extra {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px 30px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

.page-char-count .extra-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 0.95rem;
}

.page-char-count .extra-item i {
    color: #9ca3af;
}

.page-char-count .extra-item strong {
    color: #1f2937;
    font-weight: 600;
}

/* 안내 */
.page-char-count .charcount-info {
    padding: 20px 30px;
    background: #eff6ff;
    border-top: 1px solid #dbeafe;
}

.page-char-count .charcount-info h4 {
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    color: #1e40af;
    font-weight: 600;
}

.page-char-count .charcount-info h4 i {
    margin-right: 8px;
}

.page-char-count .charcount-info ul {
    margin: 0;
    padding: 0 0 0 20px;
    color: #3b82f6;
    font-size: 0.9rem;
}

.page-char-count .charcount-info li {
    margin-bottom: 6px;
}

/* 반응형 */
@media (max-width: 768px) {
    .page-char-count {
        padding: 15px;
    }

    .page-char-count .charcount-header {
        padding: 25px 20px;
    }

    .page-char-count .charcount-header h1 {
        font-size: 1.4rem;
    }

    .page-char-count .charcount-main-stats {
        grid-template-columns: 1fr;
    }

    .page-char-count .main-stat-card {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .page-char-count .main-stat-card:last-child {
        border-bottom: none;
    }

    .page-char-count .charcount-input-section {
        padding: 20px;
    }

    .page-char-count .charcount-detail-section {
        padding: 20px;
    }

    .page-char-count .detail-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-char-count .charcount-extra {
        flex-wrap: wrap;
        gap: 15px 30px;
    }

    .page-char-count .charcount-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-char-count .detail-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 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;
}

/* 플러그인 리스트 */
.page-device .plugins-list {
    margin-top: 15px;
}

.page-device .plugins-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-device .plugin-item {
    display: inline-block;
    padding: 6px 12px;
    background: #e8eaf6;
    color: #5c6bc0;
    border-radius: 15px;
    font-size: 12px;
    font-family: 'Consolas', 'Monaco', monospace;
}

.page-device .plugin-item.more {
    background: #5c6bc0;
    color: #fff;
}

.page-device .no-plugins {
    color: #999;
    font-size: 13px;
    text-align: center;
    padding: 15px;
}

/* 자동화 감지 스타일 */
.page-device .info-val.normal {
    color: #10b981;
}

.page-device .info-val.detected {
    color: #ef4444;
    font-weight: 600;
}

@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;
    }
}

/* ===== Soccer (축구장 드래그 앤 드롭) ===== */
.page-soccer {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-soccer .soccer-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.page-soccer .soccer-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 16px 16px 0 0;
}

.page-soccer .soccer-header h1 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.page-soccer .soccer-header h1 i {
    margin-right: 10px;
}

.page-soccer .soccer-desc {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

.page-soccer .soccer-content {
    padding: 30px;
    min-height: 600px;
    position: relative;
}

.page-soccer .soccer-field {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 500"><rect fill="%234ade80" width="800" height="500"/><rect fill="none" stroke="%23fff" stroke-width="4" x="20" y="20" width="760" height="460"/><line stroke="%23fff" stroke-width="4" x1="400" y1="20" x2="400" y2="480"/><circle fill="none" stroke="%23fff" stroke-width="4" cx="400" cy="250" r="60"/><rect fill="none" stroke="%23fff" stroke-width="4" x="20" y="150" width="100" height="200"/><rect fill="none" stroke="%23fff" stroke-width="4" x="680" y="150" width="100" height="200"/><rect fill="none" stroke="%23fff" stroke-width="4" x="20" y="200" width="40" height="100"/><rect fill="none" stroke="%23fff" stroke-width="4" x="740" y="200" width="40" height="100"/></svg>');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100%;
    max-width: 800px;
    height: 500px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-soccer .soccer-heroes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

/* 히어로/공 스타일 - body로 이동해도 적용되도록 클래스 기반 */
.soccer-hero {
    background: url(https://js.cx/drag-heroes/heroes.png);
    width: 130px;
    height: 128px;
    cursor: pointer;
}

#hero1 {
    background-position: 0 0;
}

#hero2 {
    background-position: 0 -128px;
}

#hero3 {
    background-position: -120px 0;
}

#hero4 {
    background-position: -125px -128px;
}

#hero5 {
    background-position: -248px -128px;
}

#hero6 {
    background-position: -244px 0;
}

.soccer-ball {
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.soccer-hero.draggable,
.soccer-ball.draggable {
    cursor: grab;
}

.soccer-hero.draggable:active,
.soccer-ball.draggable:active {
    cursor: grabbing;
}

.page-soccer .soccer-info {
    margin: 0 30px 30px;
    padding: 20px;
    background: #f0fdf4;
    border-radius: 12px;
    border-left: 4px solid #10b981;
}

.page-soccer .soccer-info h4 {
    margin: 0 0 15px 0;
    color: #065f46;
    font-size: 1rem;
}

.page-soccer .soccer-info h4 i {
    margin-right: 8px;
}

.page-soccer .soccer-info ul {
    margin: 0;
    padding: 0 0 0 20px;
    color: #374151;
}

.page-soccer .soccer-info li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .page-soccer {
        padding: 15px;
    }

    .page-soccer .soccer-header {
        padding: 25px 20px;
    }

    .page-soccer .soccer-header h1 {
        font-size: 1.4rem;
    }

    .page-soccer .soccer-content {
        padding: 20px;
    }

    .page-soccer .soccer-field {
        height: 350px;
    }

    .soccer-hero {
        width: 80px;
        height: 80px;
        background-size: 230px;
    }

    #hero1 {
        background-position: 0 0;
    }

    #hero2 {
        background-position: 0 -80px;
    }

    #hero3 {
        background-position: -75px 0;
    }

    #hero4 {
        background-position: -78px -80px;
    }

    #hero5 {
        background-position: -155px -80px;
    }

    #hero6 {
        background-position: -153px 0;
    }

    .page-soccer .soccer-info {
        margin: 0 20px 20px;
    }
}

/* ===== AES Crypto (AES-128-CBC 암호화 테스트) ===== */
.page-aes-crypto {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.page-aes-crypto .aes-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-aes-crypto .aes-header {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
    padding: 30px;
    text-align: center;
}

.page-aes-crypto .aes-header h1 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.page-aes-crypto .aes-header h1 i {
    margin-right: 10px;
}

.page-aes-crypto .aes-desc {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

.page-aes-crypto .aes-section {
    padding: 25px 30px;
    border-bottom: 1px solid #e5e7eb;
}

.page-aes-crypto .aes-section:last-of-type {
    border-bottom: none;
}

.page-aes-crypto .aes-section h3 {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    color: #374151;
}

.page-aes-crypto .aes-section h3 i {
    margin-right: 8px;
    color: #6366f1;
}

.page-aes-crypto .aes-test-group,
.page-aes-crypto .aes-form {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
}

.page-aes-crypto .aes-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 10px;
}

.page-aes-crypto .aes-row label {
    min-width: 100px;
    font-weight: 600;
    color: #4b5563;
    font-size: 0.9rem;
}

.page-aes-crypto .aes-code {
    background: #1e293b;
    color: #10b981;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.9rem;
}

.page-aes-crypto .aes-input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: monospace;
    transition: border-color 0.2s;
}

.page-aes-crypto .aes-input:focus {
    outline: none;
    border-color: #6366f1;
}

.page-aes-crypto .aes-input[readonly] {
    background: #f3f4f6;
    color: #6b7280;
}

.page-aes-crypto .aes-input-group {
    margin-bottom: 15px;
}

.page-aes-crypto .aes-input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.page-aes-crypto .aes-input-group label i {
    margin-right: 6px;
    color: #6366f1;
}

.page-aes-crypto .aes-input-group .aes-input {
    width: 100%;
    box-sizing: border-box;
}

.page-aes-crypto .aes-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.page-aes-crypto .aes-btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
}

.page-aes-crypto .aes-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.page-aes-crypto .aes-btn-secondary {
    background: #374151;
    color: #fff;
}

.page-aes-crypto .aes-btn-secondary:hover {
    background: #1f2937;
}

.page-aes-crypto .aes-result {
    margin: 0 30px 30px;
    background: #1e293b;
    border-radius: 12px;
    padding: 20px;
    color: #fff;
}

.page-aes-crypto .aes-result h4 {
    margin: 0 0 15px 0;
    color: #10b981;
    font-size: 1rem;
}

.page-aes-crypto .aes-result h4 i {
    margin-right: 8px;
}

.page-aes-crypto .aes-result pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
    font-family: monospace;
    font-size: 0.9rem;
    color: #e2e8f0;
    line-height: 1.6;
}

.page-aes-crypto .aes-info {
    margin: 0 30px 30px;
    padding: 20px;
    background: #eef2ff;
    border-radius: 12px;
    border-left: 4px solid #6366f1;
}

.page-aes-crypto .aes-info h4 {
    margin: 0 0 15px 0;
    color: #4338ca;
    font-size: 1rem;
}

.page-aes-crypto .aes-info h4 i {
    margin-right: 8px;
}

.page-aes-crypto .aes-info ul {
    margin: 0;
    padding: 0 0 0 20px;
    color: #374151;
}

.page-aes-crypto .aes-info li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.page-aes-crypto .aes-info code {
    background: #c7d2fe;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .page-aes-crypto {
        padding: 15px;
    }

    .page-aes-crypto .aes-header {
        padding: 25px 20px;
    }

    .page-aes-crypto .aes-header h1 {
        font-size: 1.4rem;
    }

    .page-aes-crypto .aes-section {
        padding: 20px;
    }

    .page-aes-crypto .aes-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-aes-crypto .aes-row label {
        min-width: auto;
        margin-bottom: 5px;
    }

    .page-aes-crypto .aes-input {
        width: 100%;
    }

    .page-aes-crypto .aes-result,
    .page-aes-crypto .aes-info {
        margin: 0 20px 20px;
    }
}

/* ===== Exchange Rate (환율 API 예제) ===== */
.page-exchange-rate {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-exchange-rate .exchange-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-exchange-rate .exchange-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    padding: 30px;
    text-align: center;
}

.page-exchange-rate .exchange-header h1 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.page-exchange-rate .exchange-header h1 i {
    margin-right: 10px;
}

.page-exchange-rate .exchange-desc {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

.page-exchange-rate .exchange-section {
    padding: 25px 30px;
    border-bottom: 1px solid #e5e7eb;
}

.page-exchange-rate .exchange-section:last-of-type {
    border-bottom: none;
}

.page-exchange-rate .exchange-section h3 {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    color: #374151;
}

.page-exchange-rate .exchange-section h3 i {
    margin-right: 8px;
    color: #f59e0b;
}

.page-exchange-rate .exchange-note {
    margin: 0 0 15px 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.page-exchange-rate .exchange-code {
    background: #1e293b;
    border-radius: 12px;
    padding: 20px;
    overflow-x: auto;
}

.page-exchange-rate .exchange-code pre {
    margin: 0;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #e2e8f0;
    white-space: pre;
}

.page-exchange-rate .exchange-code .comment {
    color: #6b7280;
}

.page-exchange-rate .exchange-code .var {
    color: #60a5fa;
}

.page-exchange-rate .exchange-code .op {
    color: #f472b6;
}

.page-exchange-rate .exchange-code .str {
    color: #34d399;
}

.page-exchange-rate .exchange-code .keyword {
    color: #c084fc;
    font-weight: bold;
}

.page-exchange-rate .exchange-code .num {
    color: #fbbf24;
}

.page-exchange-rate .exchange-result {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    overflow-x: auto;
}

.page-exchange-rate .exchange-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.page-exchange-rate .exchange-table th,
.page-exchange-rate .exchange-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.page-exchange-rate .exchange-table th {
    background: #f59e0b;
    color: #fff;
    font-weight: 600;
}

.page-exchange-rate .exchange-table th:first-child {
    border-radius: 8px 0 0 0;
}

.page-exchange-rate .exchange-table th:last-child {
    border-radius: 0 8px 0 0;
}

.page-exchange-rate .exchange-table tr:hover {
    background: #fef3c7;
}

.page-exchange-rate .exchange-table td strong {
    color: #d97706;
}

.page-exchange-rate .exchange-info {
    margin: 0 30px 30px;
    padding: 20px;
    background: #fffbeb;
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
}

.page-exchange-rate .exchange-info h4 {
    margin: 0 0 15px 0;
    color: #92400e;
    font-size: 1rem;
}

.page-exchange-rate .exchange-info h4 i {
    margin-right: 8px;
}

.page-exchange-rate .exchange-info ul {
    margin: 0;
    padding: 0 0 0 20px;
    color: #374151;
}

.page-exchange-rate .exchange-info li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.page-exchange-rate .exchange-info a {
    color: #d97706;
    text-decoration: none;
}

.page-exchange-rate .exchange-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .page-exchange-rate {
        padding: 15px;
    }

    .page-exchange-rate .exchange-header {
        padding: 25px 20px;
    }

    .page-exchange-rate .exchange-header h1 {
        font-size: 1.4rem;
    }

    .page-exchange-rate .exchange-section {
        padding: 20px;
    }

    .page-exchange-rate .exchange-code pre {
        font-size: 0.75rem;
    }

    .page-exchange-rate .exchange-table {
        font-size: 0.8rem;
    }

    .page-exchange-rate .exchange-table th,
    .page-exchange-rate .exchange-table td {
        padding: 8px 10px;
    }

    .page-exchange-rate .exchange-info {
        margin: 0 20px 20px;
    }
}

/* ===== Findjob (채용정보 검색) ===== */
.page-findjob {
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-findjob .findjob-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-findjob .findjob-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
    padding: 30px;
    text-align: center;
}

.page-findjob .findjob-header h1 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.page-findjob .findjob-header h1 i {
    margin-right: 10px;
}

.page-findjob .findjob-desc {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

.page-findjob .findjob-form {
    padding: 25px 30px;
    border-bottom: 1px solid #e5e7eb;
}

.page-findjob .findjob-search-box {
    display: flex;
    gap: 10px;
}

.page-findjob .findjob-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.page-findjob .findjob-input:focus {
    outline: none;
    border-color: #3b82f6;
}

.page-findjob .findjob-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.page-findjob .findjob-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.page-findjob .findjob-options {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.page-findjob .findjob-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #4b5563;
    cursor: pointer;
}

.page-findjob .findjob-checkbox input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.page-findjob .findjob-result {
    padding: 25px 30px;
}

.page-findjob .findjob-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.page-findjob .findjob-result-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #374151;
}

.page-findjob .findjob-result-header h4 i {
    margin-right: 8px;
    color: #3b82f6;
}

.page-findjob .findjob-count {
    background: #3b82f6;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.page-findjob .findjob-result-body {
    overflow-x: auto;
}

.page-findjob .findjob-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.page-findjob .findjob-table th,
.page-findjob .findjob-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.page-findjob .findjob-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

.page-findjob .findjob-table tr:hover {
    background: #f0f9ff;
}

.page-findjob .findjob-table td strong {
    color: #1d4ed8;
}

.page-findjob .findjob-empty,
.page-findjob .findjob-error {
    padding: 40px;
    text-align: center;
    color: #6b7280;
}

.page-findjob .findjob-error {
    color: #dc2626;
}

.page-findjob .findjob-loading {
    padding: 40px;
    text-align: center;
    color: #3b82f6;
    font-size: 1.1rem;
}

.page-findjob .findjob-loading i {
    margin-right: 8px;
}

.page-findjob .findjob-info {
    margin: 0 30px 30px;
    padding: 20px;
    background: #eff6ff;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.page-findjob .findjob-info h4 {
    margin: 0 0 15px 0;
    color: #1e40af;
    font-size: 1rem;
}

.page-findjob .findjob-info h4 i {
    margin-right: 8px;
}

.page-findjob .findjob-info ul {
    margin: 0;
    padding: 0 0 0 20px;
    color: #374151;
}

.page-findjob .findjob-info li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .page-findjob {
        padding: 15px;
    }

    .page-findjob .findjob-header {
        padding: 25px 20px;
    }

    .page-findjob .findjob-header h1 {
        font-size: 1.4rem;
    }

    .page-findjob .findjob-form {
        padding: 20px;
    }

    .page-findjob .findjob-search-box {
        flex-direction: column;
    }

    .page-findjob .findjob-options {
        flex-direction: column;
        gap: 10px;
    }

    .page-findjob .findjob-result {
        padding: 20px;
    }

    .page-findjob .findjob-table {
        font-size: 0.8rem;
    }

    .page-findjob .findjob-table th,
    .page-findjob .findjob-table td {
        padding: 8px 6px;
    }

    .page-findjob .findjob-info {
        margin: 0 20px 20px;
    }
}

/* ===== Ledger (가계부) ===== */
.page-ledger {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.page-ledger .ledger-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-ledger .ledger-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 30px;
    text-align: center;
}

.page-ledger .ledger-header h1 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.page-ledger .ledger-header h1 i {
    margin-right: 10px;
}

.page-ledger .ledger-desc {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

.page-ledger .ledger-login {
    padding: 60px 30px;
    text-align: center;
}

.page-ledger .ledger-login p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 20px;
}

.page-ledger .ledger-login i {
    margin-right: 8px;
}

.page-ledger .ledger-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
}

.page-ledger .ledger-tab {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}

.page-ledger .ledger-tab:hover {
    color: #10b981;
    background: #f0fdf4;
}

.page-ledger .ledger-tab.active {
    color: #10b981;
    border-bottom-color: #10b981;
}

.page-ledger .ledger-tab i {
    margin-right: 6px;
}

.page-ledger .ledger-panel {
    display: none;
    padding: 25px 30px;
}

.page-ledger .ledger-panel.active {
    display: block;
}

.page-ledger .ledger-form-row {
    margin-bottom: 15px;
}

.page-ledger .ledger-form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.page-ledger .ledger-form-row label i {
    margin-right: 6px;
    color: #10b981;
}

.page-ledger .ledger-input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.page-ledger .ledger-input:focus {
    outline: none;
    border-color: #10b981;
}

.page-ledger .ledger-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.page-ledger .ledger-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.page-ledger .ledger-btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.page-ledger .ledger-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.page-ledger .ledger-btn-secondary {
    background: #6b7280;
    color: #fff;
}

.page-ledger .ledger-btn-secondary:hover {
    background: #4b5563;
}

.page-ledger .ledger-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.page-ledger .ledger-table th,
.page-ledger .ledger-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.page-ledger .ledger-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
}

.page-ledger .ledger-table tr.income td.amount {
    color: #10b981;
    font-weight: 600;
}

.page-ledger .ledger-table tr.expense td.amount {
    color: #ef4444;
    font-weight: 600;
}

.page-ledger .ledger-table tr:hover {
    background: #f0fdf4;
}

.page-ledger .ledger-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.page-ledger .ledger-pagination button {
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.page-ledger .ledger-pagination button.active {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}

.page-ledger .ledger-stats-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.page-ledger .ledger-stats-filter .ledger-input {
    width: auto;
}

.page-ledger .ledger-stats-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.page-ledger .stats-card {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.page-ledger .stats-card.income {
    background: #ecfdf5;
    border: 2px solid #10b981;
}

.page-ledger .stats-card.expense {
    background: #fef2f2;
    border: 2px solid #ef4444;
}

.page-ledger .stats-card.balance {
    background: #f8fafc;
    border: 2px solid #6b7280;
}

.page-ledger .stats-card.balance.positive {
    border-color: #10b981;
}

.page-ledger .stats-card.balance.negative {
    border-color: #ef4444;
}

.page-ledger .stats-label {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 5px;
}

.page-ledger .stats-value {
    font-size: 1.3rem;
    font-weight: 700;
}

.page-ledger .stats-card.income .stats-value {
    color: #10b981;
}

.page-ledger .stats-card.expense .stats-value {
    color: #ef4444;
}

.page-ledger .stats-card.balance.positive .stats-value {
    color: #10b981;
}

.page-ledger .stats-card.balance.negative .stats-value {
    color: #ef4444;
}

.page-ledger .stats-subtitle {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: #374151;
}

.page-ledger .stats-subtitle i {
    margin-right: 8px;
    color: #10b981;
}

.page-ledger .ledger-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-ledger .ledger-category-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 8px;
}

.page-ledger .cat-name {
    color: #374151;
}

.page-ledger .cat-amount {
    font-weight: 600;
    color: #ef4444;
}

.page-ledger .ledger-empty,
.page-ledger .ledger-loading,
.page-ledger .ledger-error {
    padding: 40px;
    text-align: center;
    color: #6b7280;
}

.page-ledger .ledger-error {
    color: #ef4444;
}

.page-ledger .ledger-info {
    margin: 0 30px 30px;
    padding: 20px;
    background: #f0fdf4;
    border-radius: 12px;
    border-left: 4px solid #10b981;
}

.page-ledger .ledger-info h4 {
    margin: 0 0 15px 0;
    color: #065f46;
    font-size: 1rem;
}

.page-ledger .ledger-info h4 i {
    margin-right: 8px;
}

.page-ledger .ledger-info ul {
    margin: 0;
    padding: 0 0 0 20px;
    color: #374151;
}

.page-ledger .ledger-info li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .page-ledger {
        padding: 15px;
    }

    .page-ledger .ledger-header {
        padding: 25px 20px;
    }

    .page-ledger .ledger-header h1 {
        font-size: 1.4rem;
    }

    .page-ledger .ledger-tabs {
        flex-wrap: wrap;
    }

    .page-ledger .ledger-tab {
        flex: 1 1 33%;
        font-size: 0.85rem;
        padding: 12px 8px;
    }

    .page-ledger .ledger-panel {
        padding: 20px;
    }

    .page-ledger .ledger-form-actions {
        flex-direction: column;
    }

    .page-ledger .ledger-stats-filter {
        flex-wrap: wrap;
    }

    .page-ledger .ledger-stats-summary {
        grid-template-columns: 1fr;
    }

    .page-ledger .ledger-table {
        font-size: 0.8rem;
    }

    .page-ledger .ledger-info {
        margin: 0 20px 20px;
    }
}

/* ===== BizNum (사업자등록번호 조회) ===== */
.page-biznum {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-biznum .biznum-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-biznum .biznum-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    padding: 30px;
    text-align: center;
}

.page-biznum .biznum-header h1 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.page-biznum .biznum-header h1 i {
    margin-right: 10px;
}

.page-biznum .biznum-desc {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

.page-biznum .biznum-form {
    padding: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.page-biznum .biznum-search-box {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.page-biznum .biznum-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1.1rem;
    text-align: center;
    letter-spacing: 2px;
    transition: border-color 0.2s;
}

.page-biznum .biznum-input:focus {
    outline: none;
    border-color: #2563eb;
}

.page-biznum .biznum-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.page-biznum .biznum-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.page-biznum .biznum-hint {
    text-align: center;
    margin: 15px 0 0 0;
    font-size: 0.9rem;
    color: #6b7280;
}

.page-biznum .biznum-result {
    padding: 25px 30px;
}

.page-biznum .biznum-result h4 {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    color: #374151;
}

.page-biznum .biznum-result h4 i {
    margin-right: 8px;
    color: #2563eb;
}

.page-biznum .biznum-result-body {
    overflow-x: auto;
}

.page-biznum .biznum-table,
.page-biznum .biznum-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.page-biznum .biznum-table th,
.page-biznum .biznum-table td,
.page-biznum .biznum-table-wrap th,
.page-biznum .biznum-table-wrap td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.page-biznum .biznum-table th,
.page-biznum .biznum-table-wrap th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
}

.page-biznum .biznum-table tr:hover,
.page-biznum .biznum-table-wrap tr:hover {
    background: #eff6ff;
}

.page-biznum .biznum-empty,
.page-biznum .biznum-error {
    padding: 40px;
    text-align: center;
    color: #6b7280;
}

.page-biznum .biznum-error {
    color: #dc2626;
}

.page-biznum .biznum-external {
    padding: 30px;
    text-align: center;
}

.page-biznum .biznum-external .external-message {
    margin-bottom: 20px;
    padding: 15px;
    background: #fef3c7;
    border-radius: 8px;
    color: #92400e;
    font-size: 0.95rem;
}

.page-biznum .biznum-external .external-message i {
    margin-right: 8px;
}

.page-biznum .biznum-external-btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
}

.page-biznum .biznum-external-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.page-biznum .biznum-external-btn i {
    margin-right: 8px;
}

.page-biznum .biznum-loading {
    padding: 40px;
    text-align: center;
    color: #2563eb;
    font-size: 1.1rem;
}

.page-biznum .biznum-loading i {
    margin-right: 8px;
}

.page-biznum .biznum-info {
    margin: 0 30px 30px;
    padding: 20px;
    background: #eff6ff;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.page-biznum .biznum-info h4 {
    margin: 0 0 15px 0;
    color: #1e40af;
    font-size: 1rem;
}

.page-biznum .biznum-info h4 i {
    margin-right: 8px;
}

.page-biznum .biznum-info ul {
    margin: 0;
    padding: 0 0 0 20px;
    color: #374151;
}

.page-biznum .biznum-info li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .page-biznum {
        padding: 15px;
    }

    .page-biznum .biznum-header {
        padding: 25px 20px;
    }

    .page-biznum .biznum-header h1 {
        font-size: 1.4rem;
    }

    .page-biznum .biznum-form {
        padding: 20px;
    }

    .page-biznum .biznum-search-box {
        flex-direction: column;
    }

    .page-biznum .biznum-input {
        text-align: left;
    }

    .page-biznum .biznum-result {
        padding: 20px;
    }

    .page-biznum .biznum-table {
        font-size: 0.8rem;
    }

    .page-biznum .biznum-info {
        margin: 0 20px 20px;
    }

    .page-biznum .biznum-tabs {
        flex-direction: column;
    }

    .page-biznum .biznum-tab {
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .page-biznum .biznum-tab.active {
        border-left-color: #2563eb;
        border-bottom: none;
    }
}

/* BizNum 탭 스타일 */
.page-biznum .biznum-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
}

.page-biznum .biznum-tab {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}

.page-biznum .biznum-tab:hover {
    color: #2563eb;
    background: #eff6ff;
}

.page-biznum .biznum-tab.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.page-biznum .biznum-tab i {
    margin-right: 6px;
}

/* BizNum 홈택스 결과 스타일 */
.page-biznum .biznum-hometax-result {
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.page-biznum .biznum-hometax-result.valid {
    background: #ecfdf5;
    border: 2px solid #10b981;
}

.page-biznum .biznum-hometax-result.invalid {
    background: #fef2f2;
    border: 2px solid #ef4444;
}

.page-biznum .hometax-status {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-biznum .biznum-hometax-result.valid .hometax-status {
    color: #10b981;
}

.page-biznum .biznum-hometax-result.invalid .hometax-status {
    color: #ef4444;
}

.page-biznum .hometax-status i {
    margin-right: 10px;
}

.page-biznum .hometax-message {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 10px;
}

.page-biznum .hometax-detail {
    font-size: 0.9rem;
    color: #6b7280;
}

/* ========================================
   Encryption Utility
   ======================================== */
.page-encryption {
    padding: 30px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-encryption .encryption-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-encryption .encryption-header {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    padding: 40px 30px;
    text-align: center;
}

.page-encryption .encryption-header h1 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.page-encryption .encryption-header h1 i {
    margin-right: 10px;
}

.page-encryption .encryption-desc {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.page-encryption .encryption-content {
    padding: 30px;
}

.page-encryption .encryption-section {
    margin-bottom: 25px;
}

.page-encryption .encryption-section h3 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: #333;
}

.page-encryption .encryption-section h3 i {
    margin-right: 8px;
    color: #8b5cf6;
}

.page-encryption .encryption-textarea {
    width: 100%;
    height: 100px;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    resize: vertical;
    background: #f9fafb;
}

.page-encryption .encryption-textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.page-encryption .encryption-textarea.result {
    background: #faf5ff;
    border-color: #ddd6fe;
}

.page-encryption .encryption-tools {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.page-encryption .tool-group {
    background: #f9fafb;
    border-radius: 10px;
    padding: 15px;
}

.page-encryption .tool-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.page-encryption .tool-buttons {
    display: flex;
    gap: 8px;
}

.page-encryption .enc-btn {
    flex: 1;
    padding: 10px 15px;
    background: #8b5cf6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.page-encryption .enc-btn:hover {
    background: #7c3aed;
}

.page-encryption .enc-btn.special {
    background: #f59e0b;
}

.page-encryption .enc-btn.special:hover {
    background: #d97706;
}

.page-encryption .result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.page-encryption .result-header span {
    font-size: 13px;
    color: #6b7280;
}

.page-encryption .copy-btn {
    padding: 6px 12px;
    background: #e5e7eb;
    color: #374151;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.page-encryption .copy-btn:hover {
    background: #d1d5db;
}

.page-encryption .quick-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-encryption .quick-btn {
    padding: 8px 16px;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.page-encryption .quick-btn:hover {
    background: #8b5cf6;
    color: #fff;
    border-color: #8b5cf6;
}

.page-encryption .encryption-info {
    margin: 0 30px 30px;
    padding: 20px;
    background: #faf5ff;
    border-radius: 10px;
    border-left: 4px solid #8b5cf6;
}

.page-encryption .encryption-info h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 0.95rem;
}

.page-encryption .encryption-info ul {
    margin: 0;
    padding-left: 20px;
}

.page-encryption .encryption-info li {
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #555;
}

@media (max-width: 768px) {
    .page-encryption {
        padding: 20px 15px;
    }

    .page-encryption .encryption-header {
        padding: 30px 20px;
    }

    .page-encryption .encryption-header h1 {
        font-size: 1.4rem;
    }

    .page-encryption .encryption-content {
        padding: 20px;
    }

    .page-encryption .encryption-tools {
        grid-template-columns: 1fr;
    }

    .page-encryption .encryption-info {
        margin: 0 20px 20px;
    }
}

/* ========================================
   Regex Extractor
   ======================================== */
.page-regex-extractor {
    padding: 30px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-regex-extractor .regex-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-regex-extractor .regex-header {
    background: linear-gradient(135deg, #3178f7 0%, #225ac7 100%);
    color: #fff;
    padding: 40px 30px;
    text-align: center;
}

.page-regex-extractor .regex-header h1 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.page-regex-extractor .regex-header h1 i {
    margin-right: 10px;
}

.page-regex-extractor .regex-desc {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.page-regex-extractor .regex-content {
    padding: 30px;
}

.page-regex-extractor .regex-section {
    margin-bottom: 20px;
}

.page-regex-extractor .regex-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.page-regex-extractor .regex-section label i {
    margin-right: 8px;
    color: #3178f7;
}

.page-regex-extractor .regex-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    background: #f9fafb;
}

.page-regex-extractor .regex-input:focus {
    outline: none;
    border-color: #3178f7;
    box-shadow: 0 0 0 3px rgba(49, 120, 247, 0.15);
}

.page-regex-extractor .pattern-help {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-regex-extractor .help-tag {
    padding: 5px 12px;
    background: #e8f0fe;
    color: #3178f7;
    border-radius: 15px;
    font-size: 12px;
    font-family: 'Consolas', monospace;
    cursor: pointer;
    transition: all 0.2s;
}

.page-regex-extractor .help-tag:hover {
    background: #3178f7;
    color: #fff;
}

.page-regex-extractor .regex-textarea {
    width: 100%;
    height: 180px;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    resize: vertical;
    background: #f9fafb;
}

.page-regex-extractor .regex-textarea:focus {
    outline: none;
    border-color: #3178f7;
    box-shadow: 0 0 0 3px rgba(49, 120, 247, 0.15);
}

.page-regex-extractor .regex-textarea.result {
    background: #1e293b;
    color: #e2e8f0;
    border-color: #334155;
}

.page-regex-extractor .regex-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.page-regex-extractor .btn-extract {
    flex: 1;
    padding: 14px 24px;
    background: linear-gradient(135deg, #3178f7 0%, #225ac7 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(49, 120, 247, 0.3);
}

.page-regex-extractor .btn-extract:hover {
    transform: translateY(-1px);
}

.page-regex-extractor .btn-clear {
    padding: 14px 24px;
    background: #f3f4f6;
    color: #666;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.page-regex-extractor .btn-clear:hover {
    background: #e5e7eb;
}

.page-regex-extractor .result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.page-regex-extractor .result-header label {
    margin: 0;
}

.page-regex-extractor .btn-copy {
    padding: 6px 14px;
    background: #e5e7eb;
    color: #374151;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

.page-regex-extractor .btn-copy:hover {
    background: #d1d5db;
}

.page-regex-extractor .regex-info {
    margin: 0 30px 30px;
    padding: 20px;
    background: #e8f0fe;
    border-radius: 10px;
    border-left: 4px solid #3178f7;
}

.page-regex-extractor .regex-info h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 0.95rem;
}

.page-regex-extractor .regex-info ul {
    margin: 0;
    padding-left: 20px;
}

.page-regex-extractor .regex-info li {
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #555;
}

.page-regex-extractor .regex-info code {
    background: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-size: 0.85rem;
    color: #3178f7;
}

@media (max-width: 768px) {
    .page-regex-extractor {
        padding: 20px 15px;
    }

    .page-regex-extractor .regex-header {
        padding: 30px 20px;
    }

    .page-regex-extractor .regex-header h1 {
        font-size: 1.4rem;
    }

    .page-regex-extractor .regex-content {
        padding: 20px;
    }

    .page-regex-extractor .regex-actions {
        flex-direction: column;
    }

    .page-regex-extractor .regex-info {
        margin: 0 20px 20px;
    }
}

/* ========================================
   Sitemap Generator
   ======================================== */
.page-sitemap {
    padding: 30px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-sitemap .sitemap-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-sitemap .sitemap-header {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #fff;
    padding: 40px 30px;
    text-align: center;
}

.page-sitemap .sitemap-header h1 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.page-sitemap .sitemap-header h1 i {
    margin-right: 10px;
}

.page-sitemap .sitemap-desc {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.page-sitemap .sitemap-content {
    padding: 30px;
}

.page-sitemap .sitemap-section {
    margin-bottom: 25px;
}

.page-sitemap .sitemap-section h3 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: #333;
}

.page-sitemap .sitemap-section h3 i {
    margin-right: 8px;
    color: #059669;
}

.page-sitemap .status-box {
    background: #f9fafb;
    border-radius: 10px;
    padding: 20px;
}

.page-sitemap .status-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-sitemap .status-item>i {
    font-size: 2rem;
}

.page-sitemap .status-item.success>i {
    color: #059669;
}

.page-sitemap .status-item.warning>i {
    color: #f59e0b;
}

.page-sitemap .status-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.page-sitemap .status-info strong {
    font-size: 1rem;
    color: #333;
}

.page-sitemap .status-info span {
    font-size: 0.85rem;
    color: #6b7280;
}

.page-sitemap .btn-view {
    padding: 10px 16px;
    background: #059669;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.page-sitemap .btn-view:hover {
    background: #047857;
}

.page-sitemap .generate-box {
    background: #ecfdf5;
    border: 2px dashed #a7f3d0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

.page-sitemap .generate-desc {
    margin: 0 0 20px;
    color: #555;
    font-size: 0.95rem;
}

.page-sitemap .btn-generate {
    padding: 14px 30px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.page-sitemap .btn-generate:hover {
    transform: translateY(-1px);
}

.page-sitemap .btn-generate:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.page-sitemap .result-box {
    background: #f9fafb;
    border-radius: 10px;
    padding: 20px;
}

.page-sitemap .result-success {
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-sitemap .result-success>i {
    font-size: 2rem;
    color: #059669;
}

.page-sitemap .result-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.page-sitemap .result-text strong {
    color: #059669;
}

.page-sitemap .result-text span {
    font-size: 0.85rem;
    color: #6b7280;
}

.page-sitemap .result-error {
    color: #dc2626;
    font-weight: 600;
}

.page-sitemap .boards-box {
    background: #f9fafb;
    border-radius: 10px;
    overflow: hidden;
}

.page-sitemap .boards-box .loading {
    padding: 30px;
    text-align: center;
    color: #6b7280;
}

.page-sitemap .boards-table {
    width: 100%;
    border-collapse: collapse;
}

.page-sitemap .boards-table th,
.page-sitemap .boards-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.page-sitemap .boards-table th {
    background: #f3f4f6;
    font-weight: 600;
    color: #374151;
    font-size: 0.85rem;
}

.page-sitemap .boards-table td {
    font-size: 0.9rem;
}

.page-sitemap .boards-table code {
    background: #e5e7eb;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.page-sitemap .badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.page-sitemap .badge.public {
    background: #d1fae5;
    color: #059669;
}

.page-sitemap .badge.private {
    background: #fee2e2;
    color: #dc2626;
}

.page-sitemap .sitemap-info {
    margin: 0 30px 30px;
    padding: 20px;
    background: #ecfdf5;
    border-radius: 10px;
    border-left: 4px solid #059669;
}

.page-sitemap .sitemap-info h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 0.95rem;
}

.page-sitemap .sitemap-info ul {
    margin: 0;
    padding-left: 20px;
}

.page-sitemap .sitemap-info li {
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #555;
}

@media (max-width: 768px) {
    .page-sitemap {
        padding: 20px 15px;
    }

    .page-sitemap .sitemap-header {
        padding: 30px 20px;
    }

    .page-sitemap .sitemap-header h1 {
        font-size: 1.4rem;
    }

    .page-sitemap .sitemap-content {
        padding: 20px;
    }

    .page-sitemap .status-item {
        flex-direction: column;
        text-align: center;
    }

    .page-sitemap .result-success {
        flex-direction: column;
        text-align: center;
    }

    .page-sitemap .sitemap-info {
        margin: 0 20px 20px;
    }

    .page-sitemap .boards-table th,
    .page-sitemap .boards-table td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

/* ========================================
   VBA Password Guide
   ======================================== */
.page-vba-password {
    padding: 30px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-vba-password .vba-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-vba-password .vba-header {
    background: linear-gradient(135deg, #217346 0%, #185c37 100%);
    color: #fff;
    padding: 40px 30px;
    text-align: center;
}

.page-vba-password .vba-header h1 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.page-vba-password .vba-header h1 i {
    margin-right: 10px;
}

.page-vba-password .vba-desc {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.page-vba-password .vba-content {
    padding: 30px;
}

.page-vba-password .vba-section {
    margin-bottom: 30px;
}

.page-vba-password .vba-section .intro {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #217346;
}

.page-vba-password .vba-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #217346;
}

.page-vba-password .vba-section h2 .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #217346;
    color: #fff;
    border-radius: 50%;
    font-size: 0.9rem;
}

.page-vba-password .vba-section p {
    color: #555;
    line-height: 1.8;
    margin: 0 0 15px;
}

.page-vba-password .tech-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.page-vba-password .tech-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.page-vba-password .tech-card i {
    font-size: 1.5rem;
    color: #217346;
}

.page-vba-password .tech-card strong {
    font-size: 0.85rem;
    color: #333;
}

.page-vba-password .tech-card span {
    font-size: 0.8rem;
    color: #666;
}

.page-vba-password .code-block {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.page-vba-password .code-header {
    background: #1e293b;
    color: #94a3b8;
    padding: 10px 15px;
    font-size: 0.85rem;
}

.page-vba-password .code-header i {
    margin-right: 8px;
}

.page-vba-password .code-block pre {
    margin: 0;
    padding: 20px;
    background: #0f172a;
    overflow-x: auto;
}

.page-vba-password .code-block code {
    color: #e2e8f0;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    line-height: 1.6;
}

.page-vba-password .code-block.python .code-header {
    background: #3776ab;
    color: #ffd43b;
}

.page-vba-password mark {
    background: #fef08a;
    padding: 2px 6px;
    border-radius: 4px;
}

.page-vba-password .warning-box {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    padding: 20px;
}

.page-vba-password .warning-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-vba-password .warning-box li {
    margin-bottom: 10px;
    color: #92400e;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.page-vba-password .warning-box li:last-child {
    margin-bottom: 0;
}

.page-vba-password .warning-box li i {
    color: #f59e0b;
    margin-top: 3px;
}

.page-vba-password .warning-box code {
    background: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.page-vba-password .vba-footer {
    background: #f8fafc;
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.page-vba-password .vba-footer p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.page-vba-password .vba-footer i {
    margin-right: 8px;
    color: #217346;
}

@media (max-width: 768px) {
    .page-vba-password {
        padding: 20px 15px;
    }

    .page-vba-password .vba-header {
        padding: 30px 20px;
    }

    .page-vba-password .vba-header h1 {
        font-size: 1.4rem;
    }

    .page-vba-password .vba-content {
        padding: 20px;
    }

    .page-vba-password .tech-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-vba-password .code-block pre {
        padding: 15px;
    }

    .page-vba-password .code-block code {
        font-size: 11px;
    }
}

/* ========================================
   URL Shortener
   ======================================== */
.page-shorten {
    padding: 30px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.page-shorten .shorten-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-shorten .shorten-header {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    color: #fff;
    padding: 40px 30px;
    text-align: center;
}

.page-shorten .shorten-header h1 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.page-shorten .shorten-header h1 i {
    margin-right: 10px;
}

.page-shorten .shorten-desc {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.page-shorten .shorten-content {
    padding: 30px;
}

.page-shorten .shorten-form {
    margin-bottom: 25px;
}

.page-shorten .input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.page-shorten .url-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.page-shorten .url-input:focus {
    outline: none;
    border-color: #ec4899;
}

.page-shorten .btn-shorten {
    padding: 16px 30px;
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.page-shorten .btn-shorten:hover {
    transform: translateY(-1px);
}

.page-shorten .btn-shorten:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.page-shorten .custom-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-shorten .toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #6b7280;
}

.page-shorten .toggle-label input {
    width: 18px;
    height: 18px;
    accent-color: #ec4899;
}

.page-shorten .custom-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Consolas', monospace;
}

.page-shorten .custom-input:focus {
    outline: none;
    border-color: #ec4899;
}

.page-shorten .custom-input:disabled {
    background: #f9fafb;
    color: #9ca3af;
}

.page-shorten .shorten-result {
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.page-shorten .shorten-result.success {
    background: #fdf2f8;
    border: 2px solid #f9a8d4;
}

.page-shorten .shorten-result.error {
    background: #fef2f2;
    border: 2px solid #fca5a5;
}

.page-shorten .result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.page-shorten .shorten-result.success .result-header i {
    color: #ec4899;
    font-size: 1.2rem;
}

.page-shorten .shorten-result.error .result-header i {
    color: #ef4444;
}

.page-shorten .result-header span {
    font-weight: 600;
    color: #333;
}

.page-shorten .result-body {
    display: flex;
    gap: 10px;
}

.page-shorten .short-url-input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Consolas', monospace;
    background: #fff;
}

.page-shorten .btn-copy {
    padding: 14px 20px;
    background: #ec4899;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.page-shorten .btn-copy:hover {
    background: #be185d;
}

.page-shorten .shorten-section {
    margin-bottom: 20px;
}

.page-shorten .shorten-section h3 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: #333;
}

.page-shorten .shorten-section h3 i {
    margin-right: 8px;
    color: #ec4899;
}

.page-shorten .recent-list {
    background: #f9fafb;
    border-radius: 10px;
    overflow: hidden;
}

.page-shorten .recent-list .loading,
.page-shorten .recent-list .no-data {
    padding: 30px;
    text-align: center;
    color: #6b7280;
}

.page-shorten .recent-table {
    width: 100%;
    border-collapse: collapse;
}

.page-shorten .recent-table th,
.page-shorten .recent-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.page-shorten .recent-table th {
    background: #f3f4f6;
    font-weight: 600;
    color: #374151;
    font-size: 0.85rem;
}

.page-shorten .recent-table td {
    font-size: 0.9rem;
}

.page-shorten .recent-table td a {
    color: #ec4899;
    text-decoration: none;
    font-family: 'Consolas', monospace;
}

.page-shorten .recent-table td a:hover {
    text-decoration: underline;
}

.page-shorten .shorten-info {
    margin: 0 30px 30px;
    padding: 20px;
    background: #fdf2f8;
    border-radius: 10px;
    border-left: 4px solid #ec4899;
}

.page-shorten .shorten-info h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 0.95rem;
}

.page-shorten .shorten-info ul {
    margin: 0;
    padding-left: 20px;
}

.page-shorten .shorten-info li {
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #555;
}

@media (max-width: 768px) {
    .page-shorten {
        padding: 20px 15px;
    }

    .page-shorten .shorten-header {
        padding: 30px 20px;
    }

    .page-shorten .shorten-header h1 {
        font-size: 1.4rem;
    }

    .page-shorten .shorten-content {
        padding: 20px;
    }

    .page-shorten .input-group {
        flex-direction: column;
    }

    .page-shorten .custom-toggle {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-shorten .custom-input {
        width: 100%;
    }

    .page-shorten .result-body {
        flex-direction: column;
    }

    .page-shorten .shorten-info {
        margin: 0 20px 20px;
    }

    .page-shorten .recent-table th,
    .page-shorten .recent-table td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

/* ===== Contact Us ===== */
.page-contactus {
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.page-contactus .contactus-container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-contactus .contactus-header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.page-contactus .contactus-header h1 {
    color: #fff;
    font-size: 2rem;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.page-contactus .contactus-header h1 i {
    margin-right: 10px;
}

.page-contactus .contactus-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

.page-contactus .contactus-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 30px;
}

.page-contactus .contactus-info-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.page-contactus .info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.page-contactus .info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.page-contactus .info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
}

.page-contactus .info-card .info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
}

.page-contactus .info-card.company .info-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.page-contactus .info-card.address .info-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.page-contactus .info-card.email .info-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.page-contactus .info-card .info-content h4 {
    margin: 0 0 5px 0;
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}

.page-contactus .info-card .info-content p {
    margin: 0;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

.page-contactus .info-card .info-content a {
    color: #667eea;
    text-decoration: none;
}

.page-contactus .info-card .info-content a:hover {
    text-decoration: underline;
}

.page-contactus .quick-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
}

.page-contactus .action-btn {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
}

.page-contactus .email-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.page-contactus .email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.page-contactus .copy-btn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e9ecef;
}

.page-contactus .copy-btn:hover {
    background: #e9ecef;
}

.page-contactus .contactus-map-section {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.page-contactus .map-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    gap: 10px;
}

.page-contactus .map-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    white-space: nowrap;
}

.page-contactus .map-header h3 i {
    margin-right: 8px;
    color: #667eea;
}

.page-contactus .map-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
}

.page-contactus .map-link-btn {
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.page-contactus .map-link-btn:hover {
    background: #667eea;
    color: #fff;
}

.page-contactus .map-container {
    height: 350px;
    background: #f0f0f0;
    position: relative;
}

.page-contactus .map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 1rem;
}

.page-contactus .map-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #e74c3c;
}

.page-contactus .map-error a {
    color: #667eea;
    display: inline-block;
    margin-top: 10px;
}

.page-contactus .map-address-bar {
    padding: 15px 25px;
    background: #f8f9fa;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-contactus .map-address-bar i {
    color: #e74c3c;
}

.page-contactus .contactus-notice {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 25px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.page-contactus .contactus-notice h4 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-contactus .contactus-notice h4 i {
    color: #667eea;
}

.page-contactus .contactus-notice ul {
    margin: 0;
    padding: 0 0 0 20px;
    color: #666;
}

.page-contactus .contactus-notice li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.page-contactus .contactus-notice li:last-child {
    margin-bottom: 0;
}

/* Contact Us 반응형 */
@media (max-width: 900px) {
    .page-contactus .contactus-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-contactus {
        padding: 20px 15px;
    }

    .page-contactus .contactus-header {
        padding: 30px 20px;
    }

    .page-contactus .contactus-header h1 {
        font-size: 1.5rem;
    }

    .page-contactus .quick-actions {
        flex-direction: column;
    }

    .page-contactus .map-header {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .page-contactus .map-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .page-contactus .map-link-btn {
        flex: 1;
        justify-content: center;
        padding: 8px 10px;
    }

    .page-contactus .map-container {
        height: 280px;
    }
}

/* ===== Google Map Search (주소 검색) ===== */
.page-gmap-search {
    padding: 30px 20px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    min-height: 100vh;
}

.page-gmap-search .gmap-container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-gmap-search .gmap-header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.page-gmap-search .gmap-header h1 {
    color: #fff;
    font-size: 2rem;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.page-gmap-search .gmap-header h1 i {
    margin-right: 10px;
}

.page-gmap-search .gmap-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

.page-gmap-search .gmap-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    margin-bottom: 30px;
}

.page-gmap-search .gmap-search-section {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.page-gmap-search .search-box {
    margin-bottom: 20px;
}

.page-gmap-search .search-box label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.page-gmap-search .search-box label i {
    margin-right: 8px;
    color: #11998e;
}

.page-gmap-search .search-input-group {
    display: flex;
    gap: 10px;
}

.page-gmap-search .search-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-gmap-search .search-input:hover {
    border-color: #11998e;
}

.page-gmap-search .btn-search {
    padding: 12px 20px;
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.page-gmap-search .btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(17, 153, 142, 0.4);
}

.page-gmap-search .search-hint {
    margin: 10px 0 0;
    font-size: 0.8rem;
    color: #999;
}

.page-gmap-search .result-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.page-gmap-search .result-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.page-gmap-search .result-card:hover {
    background: #f0f0f0;
}

.page-gmap-search .card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.page-gmap-search .card-icon.lat {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.page-gmap-search .card-icon.lng {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.page-gmap-search .card-content {
    flex: 1;
    min-width: 0;
}

.page-gmap-search .card-content label {
    display: block;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 3px;
}

.page-gmap-search .result-input {
    width: 100%;
    padding: 8px 0;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.page-gmap-search .btn-copy {
    width: 36px;
    height: 36px;
    border: none;
    background: #e9ecef;
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.page-gmap-search .btn-copy:hover {
    background: #11998e;
    color: #fff;
}

.page-gmap-search .action-buttons {
    display: flex;
    justify-content: center;
}

.page-gmap-search .btn-apply {
    padding: 14px 40px;
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-gmap-search .btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(17, 153, 142, 0.4);
}

.page-gmap-search .gmap-map-section {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.page-gmap-search .map-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    gap: 10px;
}

.page-gmap-search .map-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

.page-gmap-search .map-header h3 i {
    margin-right: 8px;
    color: #11998e;
}

.page-gmap-search .map-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.page-gmap-search .map-link-btn {
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.page-gmap-search .map-link-btn:hover {
    background: #11998e;
    color: #fff;
}

.page-gmap-search .map-container {
    height: 400px;
    background: #f0f0f0;
    position: relative;
}

.page-gmap-search .map-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #999;
}

.page-gmap-search .map-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    opacity: 0.5;
}

.page-gmap-search .map-placeholder p {
    margin: 0;
    font-size: 0.95rem;
}

.page-gmap-search .gmap-info {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 25px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.page-gmap-search .gmap-info h4 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-gmap-search .gmap-info h4 i {
    color: #11998e;
}

.page-gmap-search .gmap-info ul {
    margin: 0;
    padding: 0 0 0 20px;
    color: #666;
}

.page-gmap-search .gmap-info li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.page-gmap-search .gmap-info li:last-child {
    margin-bottom: 0;
}

/* Gmap Search 반응형 */
@media (max-width: 900px) {
    .page-gmap-search .gmap-content {
        grid-template-columns: 1fr;
    }

    .page-gmap-search .map-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .page-gmap-search {
        padding: 20px 15px;
    }

    .page-gmap-search .gmap-header {
        padding: 30px 20px;
    }

    .page-gmap-search .gmap-header h1 {
        font-size: 1.5rem;
    }

    .page-gmap-search .search-input-group {
        flex-direction: column;
    }

    .page-gmap-search .btn-search {
        width: 100%;
    }

    .page-gmap-search .map-header {
        flex-direction: column;
        align-items: stretch;
    }

    .page-gmap-search .map-actions {
        width: 100%;
        justify-content: flex-start;
    }
}


/* ========================================
   WebPacking - 웹뷰 앱 개발 가이드
   ======================================== */
.page-webpacking {
    padding: 30px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-webpacking .webpacking-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-webpacking .webpacking-header {
    background: linear-gradient(135deg, #3ddc84 0%, #00c853 100%);
    color: #fff;
    padding: 40px 30px;
    text-align: center;
}

.page-webpacking .webpacking-header h1 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.page-webpacking .webpacking-header h1 i {
    margin-right: 10px;
}

.page-webpacking .webpacking-desc {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.page-webpacking .webpacking-content {
    padding: 30px;
}

.page-webpacking .webpacking-section {
    margin-bottom: 30px;
}

.page-webpacking .webpacking-section .intro {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #3ddc84;
}

.page-webpacking .webpacking-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #3ddc84;
}

.page-webpacking .webpacking-section h2 .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #3ddc84;
    color: #fff;
    border-radius: 50%;
    font-size: 0.9rem;
}

.page-webpacking .webpacking-section h3 {
    font-size: 1rem;
    color: #444;
    margin: 20px 0 10px;
}

.page-webpacking .webpacking-section p {
    color: #555;
    line-height: 1.8;
    margin: 0 0 15px;
}

.page-webpacking .webpacking-section ul {
    margin: 0 0 15px 20px;
    padding: 0;
}

.page-webpacking .webpacking-section ul li {
    color: #555;
    margin-bottom: 8px;
    line-height: 1.6;
}

.page-webpacking .tech-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.page-webpacking .tech-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.page-webpacking .tech-card i {
    font-size: 1.5rem;
    color: #3ddc84;
}

.page-webpacking .tech-card strong {
    font-size: 0.85rem;
    color: #333;
}

.page-webpacking .tech-card span {
    font-size: 0.8rem;
    color: #666;
}

.page-webpacking .code-block {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.page-webpacking .code-header {
    background: #1e293b;
    color: #94a3b8;
    padding: 10px 15px;
    font-size: 0.85rem;
}

.page-webpacking .code-header i {
    margin-right: 8px;
}

.page-webpacking .code-block pre {
    margin: 0;
    padding: 20px;
    background: #0f172a;
    overflow-x: auto;
}

.page-webpacking .code-block code {
    color: #e2e8f0;
    font-family: Consolas, Monaco, monospace;
    font-size: 13px;
    line-height: 1.6;
}

.page-webpacking .code-block.java .code-header {
    background: #b07219;
    color: #fff;
}

.page-webpacking .code-block.kotlin .code-header {
    background: #7f52ff;
    color: #fff;
}

.page-webpacking .info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.page-webpacking .info-table th,
.page-webpacking .info-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #e5e7eb;
}

.page-webpacking .info-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #333;
}

.page-webpacking .info-table td {
    color: #555;
}

.page-webpacking .info-table code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #e91e63;
}

.page-webpacking .warning-box {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    padding: 20px;
}

.page-webpacking .warning-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-webpacking .warning-box li {
    margin-bottom: 10px;
    color: #92400e;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.page-webpacking .warning-box li:last-child {
    margin-bottom: 0;
}

.page-webpacking .warning-box li i {
    color: #f59e0b;
    margin-top: 3px;
}

.page-webpacking .webpacking-footer {
    background: #f8fafc;
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.page-webpacking .webpacking-footer p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.page-webpacking .webpacking-footer i {
    margin-right: 8px;
    color: #3ddc84;
}

@media (max-width: 768px) {
    .page-webpacking {
        padding: 20px 15px;
    }

    .page-webpacking .webpacking-header {
        padding: 30px 20px;
    }

    .page-webpacking .webpacking-header h1 {
        font-size: 1.4rem;
    }

    .page-webpacking .webpacking-content {
        padding: 20px;
    }

    .page-webpacking .tech-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-webpacking .code-block pre {
        padding: 15px;
    }

    .page-webpacking .code-block code {
        font-size: 11px;
    }

    .page-webpacking .info-table th,
    .page-webpacking .info-table td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}

/* ===== Hint Keywords (Naver Keyword Tool) ===== */
.page-hint-keywords {
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-hint-keywords .hint-keywords-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-hint-keywords .hint-keywords-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 40px 30px;
    text-align: center;
}

.page-hint-keywords .hint-keywords-header h1 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.page-hint-keywords .hint-keywords-header h1 i {
    margin-right: 10px;
}

.page-hint-keywords .hint-keywords-desc {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.page-hint-keywords .hint-keywords-form {
    padding: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.page-hint-keywords .form-group {
    margin-bottom: 0;
}

.page-hint-keywords .form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.page-hint-keywords .form-group label i {
    margin-right: 6px;
    color: #10b981;
}

.page-hint-keywords .input-with-button {
    display: flex;
    gap: 10px;
}

.page-hint-keywords .form-control {
    flex: 1;
    height: 50px;
    padding: 0 15px;
    border: 2px solid #e9edf2;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.2s;
}

.page-hint-keywords .form-control:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.page-hint-keywords .btn-search {
    padding: 0 30px;
    height: 50px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    white-space: nowrap;
}

.page-hint-keywords .btn-search:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.page-hint-keywords .btn-search i {
    margin-right: 6px;
}

.page-hint-keywords .hint-keywords-loading {
    padding: 40px;
    text-align: center;
    color: #10b981;
    font-size: 1.1rem;
    font-weight: 600;
}

.page-hint-keywords .hint-keywords-loading i {
    margin-right: 10px;
    font-size: 1.3rem;
}

.page-hint-keywords .hint-keywords-result {
    padding: 30px;
}

.page-hint-keywords .result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-hint-keywords .result-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #1f2937;
}

.page-hint-keywords .result-header h3 i {
    margin-right: 8px;
    color: #10b981;
}

.page-hint-keywords .result-count {
    background: #ecfdf5;
    color: #059669;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.page-hint-keywords .table-responsive {
    overflow-x: auto;
    margin-top: 15px;
}

.page-hint-keywords .keyword-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.page-hint-keywords .keyword-table thead {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.page-hint-keywords .keyword-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    font-size: 0.85rem;
    border-bottom: 2px solid #e5e7eb;
    white-space: nowrap;
}

.page-hint-keywords .keyword-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f3f4f6;
    color: #6b7280;
    font-size: 0.9rem;
}

.page-hint-keywords .keyword-table tbody tr:hover {
    background: #f9fafb;
}

.page-hint-keywords .keyword-table tbody tr:last-child td {
    border-bottom: none;
}

.page-hint-keywords .keyword-text {
    font-weight: 600;
    color: #1f2937;
}

.page-hint-keywords .total-count {
    font-weight: 700;
    color: #10b981;
}

.page-hint-keywords .comp-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.page-hint-keywords .comp-badge.comp-high {
    background: #fee2e2;
    color: #dc2626;
}

.page-hint-keywords .comp-badge.comp-medium {
    background: #fef3c7;
    color: #d97706;
}

.page-hint-keywords .comp-badge.comp-low {
    background: #dbeafe;
    color: #2563eb;
}

.page-hint-keywords .hint-keywords-error {
    padding: 40px;
    text-align: center;
    color: #dc2626;
    font-size: 1rem;
}

.page-hint-keywords .hint-keywords-error i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.page-hint-keywords .hint-keywords-info {
    margin: 0 30px 30px;
    padding: 20px;
    background: #f0fdf4;
    border-radius: 10px;
    border-left: 4px solid #10b981;
}

.page-hint-keywords .hint-keywords-info h4 {
    margin: 0 0 12px 0;
    color: #065f46;
    font-size: 0.95rem;
    font-weight: 600;
}

.page-hint-keywords .hint-keywords-info h4 i {
    margin-right: 8px;
}

.page-hint-keywords .hint-keywords-info ul {
    margin: 0;
    padding-left: 20px;
}

.page-hint-keywords .hint-keywords-info li {
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #047857;
}

/* 반응형 */
@media (max-width: 768px) {
    .page-hint-keywords {
        padding: 20px 15px;
    }

    .page-hint-keywords .hint-keywords-header {
        padding: 30px 20px;
    }

    .page-hint-keywords .hint-keywords-header h1 {
        font-size: 1.4rem;
    }

    .page-hint-keywords .hint-keywords-form {
        padding: 20px;
    }

    .page-hint-keywords .input-with-button {
        flex-direction: column;
    }

    .page-hint-keywords .btn-search {
        width: 100%;
    }

    .page-hint-keywords .hint-keywords-result {
        padding: 20px;
    }

    .page-hint-keywords .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .page-hint-keywords .hint-keywords-info {
        margin: 0 20px 20px;
    }

    .page-hint-keywords .keyword-table {
        font-size: 0.8rem;
    }

    .page-hint-keywords .keyword-table th,
    .page-hint-keywords .keyword-table td {
        padding: 8px 10px;
    }
}

/* ===== Toss Stock (Realtime Ranking) ===== */
.page-toss-stock {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-toss-stock .toss-stock-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-toss-stock .toss-stock-header {
    background: linear-gradient(135deg, #0050ff 0%, #3679fe 100%);
    color: #fff;
    padding: 35px 30px;
}

.page-toss-stock .toss-stock-header h1 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.page-toss-stock .toss-stock-header h1 i {
    margin-right: 12px;
    opacity: 0.9;
}

.page-toss-stock .toss-stock-desc {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
    font-weight: 300;
}

/* Stock List */
.page-toss-stock .toss-stock-list {
    padding: 30px;
    background: #f9f9f9;
}

.page-toss-stock .stock-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.page-toss-stock .stock-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
}

.page-toss-stock .stock-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-toss-stock .rank-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0050ff;
    width: 24px;
    text-align: center;
}

.page-toss-stock .stock-info {
    width: 100%;
    padding-left: 25px;
    /* space for rank */
}

.page-toss-stock .stock-top {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.page-toss-stock .stock-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    border: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.page-toss-stock .stock-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-toss-stock .stock-logo .no-logo {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.page-toss-stock .stock-names {
    overflow: hidden;
}

.page-toss-stock .stock-names h3 {
    margin: 0 0 3px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-toss-stock .stock-names .name-en {
    display: block;
    font-size: 0.85rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-toss-stock .stock-details {
    display: flex;
    gap: 5px;
}

.page-toss-stock .market-badge,
.page-toss-stock .currency-badge {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.page-toss-stock .market-badge {
    background: #f3f4f6;
    color: #4b5563;
}

.page-toss-stock .market-badge.nsq,
.page-toss-stock .market-badge.nas {
    background: #e0e7ff;
    color: #4338ca;
}

.page-toss-stock .market-badge.ksp,
.page-toss-stock .market-badge.ksq {
    background: #fff1f2;
    color: #be123c;
}

.page-toss-stock .currency-badge.usd {
    background: #ecfdf5;
    color: #059669;
}

.page-toss-stock .currency-badge.krw {
    background: #fff7ed;
    color: #c2410c;
}

/* Info Section */
.page-toss-stock .toss-stock-info {
    padding: 25px 30px;
    border-top: 1px solid #eee;
}

.page-toss-stock .toss-stock-info h4 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

.page-toss-stock .toss-stock-info h4 i {
    color: #0050ff;
    margin-right: 8px;
}

.page-toss-stock .toss-stock-info ul {
    margin: 0;
    padding: 0 0 0 20px;
    color: #666;
    font-size: 0.95rem;
}

.page-toss-stock .toss-stock-info li {
    margin-bottom: 8px;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .page-toss-stock {
        padding: 10px;
    }

    .page-toss-stock .toss-stock-header {
        padding: 25px 20px;
    }

    .page-toss-stock .toss-stock-list {
        padding: 20px 15px;
    }

    .page-toss-stock .stock-cards {
        grid-template-columns: 1fr;
    }
}

/* Indicators */
.page-toss-stock .toss-indicator-section {
    padding: 25px 30px 0;
    margin-bottom: 10px;
}

.page-toss-stock .section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #1f2937;
}

.page-toss-stock .indicator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.page-toss-stock .indicator-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #eee;
}

.page-toss-stock .ind-info {
    display: flex;
    flex-direction: column;
}

.page-toss-stock .ind-name {
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
    margin-bottom: 5px;
}

.page-toss-stock .ind-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    display: block;
}

.page-toss-stock .ind-change {
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 2px;
}

.page-toss-stock .ind-change.up {
    color: #d20f2d;
}

.page-toss-stock .ind-change.down {
    color: #0050ff;
}

.page-toss-stock .ind-chart {
    width: 80px;
    height: 40px;
}

.page-toss-stock .ind-chart svg {
    display: block;
}

@media (max-width: 600px) {
    .page-toss-stock .indicator-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Simple Cards (Exchange Rates) */
.page-toss-stock .toss-card-section {
    padding: 0 30px;
    margin-bottom: 20px;
}

.page-toss-stock .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.page-toss-stock .simple-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-toss-stock .card-title {
    font-size: 0.9rem;
    color: #666;
    display: block;
    margin-bottom: 8px;
}

.page-toss-stock .card-price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.page-toss-stock .card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222;
}

.page-toss-stock .card-change {
    font-size: 0.85rem;
    font-weight: 500;
}

.page-toss-stock .card-change.up {
    color: #d20f2d;
}

.page-toss-stock .card-change.down {
    color: #0050ff;
}