body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
}

.inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 20px 20px;
}

/* 헤더 스타일 */
.header {
    background-color: #111841;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.header-logo img {
    height: 80px;
    margin-right: 40px;
}

.header h1 {
    font-size: 16px;
    color: #fff;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    font-weight: normal;
}

/* CTA 버튼 스타일 */
.cta-section {
    text-align: center;
    padding: 20px 20px 40px 20px;
}

.cta-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #111841;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 20px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 250px;
    height: 60px;
}

/* 정보 박스 스타일 */
.info-box, .privacy-policy, .ad-preference {
    background-color: white;
    margin-top: 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.info-box h2, .privacy-policy h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.info-box ul, .privacy-policy ul {
    padding-left: 20px;
    list-style-type: none;
}

.info-box ul li, .privacy-policy ul li {
    margin-bottom: 5px;
    line-height: 1.5;
    position: relative;
}

.info-box ul li:before, .privacy-policy ul li:before {
    content: "-";
    position: absolute;
    left: -15px;
}

.info-box p, .privacy-policy p {
    margin-top: 10px;
}

/* 맞춤형 광고 설정 스타일 */
.ad-preference {
    background-color: #111841;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    font-weight: bold;
    color: #fff;
}

.ad-preference p {
    font-size: 16px;
    margin: 0;
}
.ad-preference p small {
    font-size: 14px;
    font-weight: 400;
}

th, td:first-child {
    background: #f9f9f9;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 15px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.top-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: #fff;
    height: 80px;
}

/* 로고 이미지 스타일 */
.top-header img {
    height: 40px;
}

input:checked + .slider {
    background-color: #ed620f;
}

input:checked + .slider:before {
    transform: translateX(30px);
}

@media screen and (max-width: 768px) {
    .top-header {
        display: none;
    }

    .header {
        padding: 20px;
        flex-direction: column;
    }

    .header-logo img {
        height: 50px;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .header h1 {
        font-size: 14px;
        text-align: center;
    }

    .top-header {
        height: 60px;
    }

    .top-header img {
        height: 30px;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .top-header {
        display: none;
    }

    .header {
        padding: 15px;
    }

    .header-logo img {
        height: 40px;
        margin-bottom: 15px;
    }

    .header h1 {
        font-size: 13px;
        line-height: 1.4;
    }

    .top-header {
        height: 50px;
    }

    .top-header img {
        height: 25px;
    }
}