/* RGO 요금제 개인정보 동의 팝업 */
.rgo_consent_backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
}
.rgo_consent_backdrop.show { display: flex; }

.rgo_consent_panel {
    background: #fff;
    width: 600px;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: rgo_consent_in 0.2s ease;
}
@keyframes rgo_consent_in {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.rgo_consent_panel > header {
    padding: 16px 20px;
    background: #e8001d;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 15px;
}
.rgo_consent_close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.rgo_consent_body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.rgo_consent_section {
    margin-bottom: 20px;
}
.rgo_consent_section:last-child { margin-bottom: 0; }
.rgo_consent_section h3 {
    margin: 0 0 8px;
    font-size: 14px;
    color: #222;
    border-left: 3px solid #e8001d;
    padding-left: 8px;
}
.rgo_consent_section h3 .required {
    color: #e8001d;
    font-size: 12px;
    font-weight: normal;
    margin-left: 4px;
}

.rgo_consent_text {
    padding: 12px 14px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.7;
    color: #333;
    max-height: 150px;
    overflow-y: auto;
}
.rgo_consent_text p { margin: 0 0 6px; }
.rgo_consent_text p:last-child { margin-bottom: 0; }
.rgo_consent_text strong { color: #222; }

.rgo_consent_check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 12px;
    background: #fffbea;
    border: 1px solid #f3d77a;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
}
.rgo_consent_check input[type=checkbox] { margin-top: 2px; transform: scale(1.1); }
.rgo_consent_check strong { color: #e8001d; }

.rgo_consent_panel > footer {
    padding: 14px 20px;
    background: #fafafa;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 480px) {
    .rgo_consent_panel { border-radius: 0; max-height: 100vh; height: 100vh; }
    .rgo_consent_body { padding: 14px; }
    .rgo_consent_section h3 { font-size: 13px; }
    .rgo_consent_text { font-size: 12px; }
}
