﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');

@font-face {
    font-family: 'Pretendard-Num';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    unicode-range: U+0030-0039;
}

@font-face {
    font-family: 'Pretendard-Num';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    unicode-range: U+0030-0039;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Pretendard-Num', 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: #333;
}

:root {
    --lg-pink: #e6007e; /* LG U+ 시그니처 컬러 */
}

.lg-container, .lg-container * {
    box-sizing: border-box;
    color: #333;
}

.lg-container {
    width: 980px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    /*border: 1px solid #ddd;*/
}

    /* Common Elements */
    .lg-container input[type="text"],
    .lg-container input[type="date"] {
        border: 1px solid #ccc;
        border-radius: 3px;
        height: 32px;
        padding: 5px 10px;
        outline: none;
        flex: 1;
        min-width: 0; /* flex 영역 이탈 방지 */
    }

        .lg-container input[type="text"]:focus {
            border-color: #999;
        }

.lg-text-pink {
    color: var(--lg-pink) !important;
}

.lg-font-bold {
    font-weight: bold;
}

.lg-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lg-search-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16' fill='%23999'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 30px !important;
}

/* Header */
.lg-header {
    background-color: var(--lg-pink);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

    .lg-header * {
        color: #fff;
    }

.lg-header-left, .lg-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lg-logo-uplus {
    background-color: #fff;
    color: var(--lg-pink);
    font-weight: 900;
    font-size: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px; /* U+ 로고의 둥근 느낌 */
    margin-right: 10px;
}

.lg-header-input {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.5) !important;
    color: #fff;
    width: 140px;
    flex: none !important;
}

    .lg-header-input::placeholder {
        color: rgba(255,255,255,0.7);
    }

.lg-logo-juda {
    font-size: 24px;
    font-weight: bold;
    font-style: italic;
    margin-left: 20px;
}

/* Top Section */
.lg-top-section {
    display: flex;
    padding: 20px;
    gap: 40px;
}

.lg-top-left {
    flex: 0.45;
}

.lg-top-right {
    flex: 0.55;
    display: flex;
    flex-direction: column;
}

.lg-form-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

    .lg-form-row > label {
        width: 80px;
        color: #555;
        flex-shrink: 0;
    }

.lg-btn-group {
    display: flex;
    gap: 5px;
    flex: 1;
}

    .lg-btn-group button {
        flex: 1;
        height: 34px;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 4px;
        cursor: pointer;
        color: #555;
    }

        .lg-btn-group button.lg-active {
            background: var(--lg-pink);
            color: #fff;
            border-color: var(--lg-pink);
            font-weight: bold;
        }

.lg-device-box {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    background-color: #fbfbfb;
    gap: 15px;
}

.lg-device-img {
    width: 100px;
    height: 100px;
    border: 1px dashed #ccc;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 11px;
    border-radius: 4px;
}

    

.lg-device-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

    .lg-device-info .lg-price-row {
        text-align: right;
        margin-bottom: 5px;
    }

        .lg-device-info .lg-price-row strong {
            font-size: 18px;
            color: #000;
            margin-left: 10px;
        }

.lg-input-unit {
    display: flex;
    align-items: center;
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
}

    .lg-input-unit input {
        border: none !important;
        text-align: right;
        padding-right: 5px !important;
        height: 30px !important;
    }

.lg-top-right .lg-form-row > label,
.lg-top-right .lg-extra-charge > label {
    width: 100px;
    text-align: right;
    padding-right: 15px;
}

.lg-extra-charge {
    display: flex;
}

    .lg-extra-charge > label {
        width: 100px;
        padding-top: 5px;
        color: #555;
        flex-shrink: 0;
    }

.lg-extra-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.lg-extra-total {
    flex: 1;
    display: flex;
    justify-content: space-between;
    padding-top: 8px;
    font-weight: bold;
}

/* Detail Section */
.lg-detail-section {
    margin: 0 20px;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.lg-detail-header {
    background-color: var(--lg-pink);
    color: #fff;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

    .lg-detail-header label {
        color: #fff;
        font-size: 12px;
        font-weight: normal;
        cursor: pointer;
        margin: 0;
    }

.lg-detail-body {
    display: flex;
    background-color: #fff;
}

.lg-col {
    flex: 1;
    padding: 20px;
    border-right: 1px dashed #ddd;
}
.lg-col-right {
    flex: 1.5 !important;
}
.lg-col:last-child {
    border-right: none;
}

.lg-col-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid #e6007e;
}

.lg-badge {
    background-color: var(--lg-pink);
    color: #fff;
    width: 20px;
    height: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    margin-right: 8px;
    font-size: 12px;
}

.lg-data-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #444;
}

    .lg-data-row.lg-large {
        font-size: 14px;
        margin-top: 15px;
    }

        .lg-data-row.lg-large strong {
            font-size: 16px;
        }

    .lg-highlight {
        color: var(--lg-pink);
        font-weight: bold;
        font-size: 20px;
    }


.lg-divider {
    border-top: 1px dotted #ccc;
    margin: 15px 0;
}

.lg-col-b input {
    width: 140px;
    height: 26px !important;
    text-align: right;
    flex: none;
}

.lg-col-b .lg-data-row {
    align-items: center;
}

.lg-tag {
    background-color: #dff5ff;
    color: #0288d1;
    padding: 0 8px;
    border-radius: 5px;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 15px;
}

.lg-spec-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.lg-s-icon {
    display: flex;
    align-items: center;
    font-size: 11px;
}

    .lg-s-icon span.lg-lbl {
        background-color: var(--lg-pink);
        color: #fff;
        padding: 0 10px;
        border-radius: 3px;
        margin-right: 3px;
        font-size: 11.5px;
    }

.lg-memo-text {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    font-size: 10px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.lg-total-box {
    background-color: var(--lg-pink);
    color: #fff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

    .lg-total-box .lg-calc {
        font-size: 12px;
        color: #fff;
        margin-bottom: 10px;
    }

    .lg-total-box .lg-price {
        text-align: right;
        font-size: 22px;
        font-weight: bold;
        color: #fff;
    }

.lg-change-plan {
    border: 1px solid #ddd;
    border-radius: 4px;
}

.lg-change-header {
    background-color: var(--lg-pink);
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: bold;
}

.lg-change-body {
    padding: 10px;
}

    .lg-change-body input {
        height: 32px !important;
        width: 100%;
        flex: none;
    }

.lg-change-calc {
    font-size: 12px;
    color: #555;
    margin-bottom: 5px;
}

.lg-change-total {
    text-align: right;
    font-weight: bold;
    color: var(--lg-pink);
}

    .lg-change-total span {
        font-size: 11px;
        color: var(--lg-pink);
        margin-right: 10px;
    }

/* Bottom Section */
.lg-bottom-section {
    margin: 20px;
    background-color: #fefcf3;
    border: 1px solid #f3e5ab;
    border-radius: 6px;
    padding: 20px;
    display: flex;
    gap: 20px;
}

.lg-notes {
    flex: 0.6;
}

.lg-notes-title {
    color: #d88000;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

    .lg-notes-title::before {
        content: "!";
        display: inline-block;
        width: 18px;
        height: 18px;
        background-color: #ffb300;
        color: #fff;
        border-radius: 50%;
        text-align: center;
        line-height: 18px;
        font-size: 12px;
        margin-right: 8px;
    }

.lg-notes ul {
    list-style: none;
    padding-left: 0;
}

.lg-notes li {
    position: relative;
    padding-left: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

    .lg-notes li::before {
        content: "-";
        position: absolute;
        left: 0;
        top: 0;
    }

.lg-memo-box {
    flex: 0.4;
    background-color: #fff;
    border: 1px solid #e0d8c3;
    border-radius: 4px;
    padding: 10px;
    color: #999;
    min-height: 120px;
}

/* Footer */
.lg-footer {
    background-color: var(--lg-pink);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

    .lg-footer label {
        color: #fff;
        font-weight: bold;
        flex-shrink: 0;
    }

    .lg-footer input {
        border: none !important;
        border-radius: 3px;
        height: 32px;
        padding: 0 10px;
        width: 180px;
        flex: none !important;
    }

.lg-footer-sig {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .lg-footer-sig span {
        color: #fff;
    }
    .m-0 {
        margin: 0 !important;
    }
.lg-memo-box {
    flex: 0.4;
    background-color: #fff;
    border: 1px solid #e0d8c3;
    border-radius: 4px;
    padding: 10px;
    color: #999;
    min-height: 120px;
    /* 아래 2줄 추가: 내부 요소들을 위아래로 배치 */
    display: flex;
    flex-direction: column;
}

/* MEMO 글자 스타일 */
.lg-memo-title {
    font-size: 12px;
    margin-bottom: 8px;
    color: #999;
}

/* 입력창(textarea) 스타일 */
.lg-memo-input {
    flex: 1; /* MEMO 글자를 제외한 나머지 빈 공간을 꽉 채움 */
    width: 100%;
    border: none; /* 기본 테두리 제거 */
    resize: none; /* 사용자가 마우스로 크기 조절하는 기능 차단 */
    outline: none; /* 클릭 시 생기는 테두리 제거 */
    color: #333;
    font-family: inherit;
    font-size: 12px;
    background-color: transparent;
    padding: 0;
}

    /* 입력창 스크롤바 스타일 (선택사항) */
    .lg-memo-input::-webkit-scrollbar {
        width: 6px;
    }

    .lg-memo-input::-webkit-scrollbar-thumb {
        background-color: #ddd;
        border-radius: 3px;
    }
.radiotype-btn-group-lg label {
    display: inline-block;
    padding: 3px 18px;
    font-size: 13px;
    color: #666;
    background-color: #f8f9fa; /* 기본 연한 회색 배경 */
    border: 1px solid #ddd;
    border-radius: 20px; /* 둥근 알약 모양 */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin: 0;
    width: 95px;
    text-align: center;
    margin: 0 5px;
}

    /* 마우스 호버 시 효과 */
.radiotype-btn-group-lg label:hover {
    background-color: #f1f1f1;
}

/* ⭐ 3. 라디오 버튼이 선택(Checked)되었을 때 바로 뒤의 라벨 색상 변경 */
.radiotype-btn-group-lg input[type="radio"]:checked + label {
    background-color: var(--lg-pink);
    color: #fff;
    border-color: var(--lg-pink);
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(179, 46, 191, 0.3);
}
.radiotype-btn-group-lg input[type="radio"] {
    display: none;
}
.buga-icon-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--lg-pink);
    color: white;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}