/* 정책 컨테이너 */
.policy-container {
    min-height: calc(100vh - 160px);
    background-color: #131217;
    padding: 16px;
}

/* 정책 목록 */
.policy-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.policy-item {
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    border-bottom: 1px solid #686868;
}

.policy-item:last-child {
    border-bottom: none;
}

.policy-item h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.policy-item p {
    color: #888;
    font-size: 13px;
    margin: 0;
}

.policy-item .arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 20px;
}

/* 모달 */
.policy-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.policy-modal.show {
    display: block;
}

.modal-content {
    background-color: #2a2a2a;
    margin: 50px auto;
    width: 90%;
    max-width: 420px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #3a3a3a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: #2a2a2a;
    z-index: 10;
}

.modal-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    flex: 1;
    padding-right: 10px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #888;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #fff;
}

.modal-body {
    padding: 20px;
}

.modal-content-text {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.8;
}

.modal-content-text h3 {
    color: #ffffff;
    font-size: 16px;
    margin: 20px 0 10px 0;
    font-weight: 500;
}

.modal-content-text p {
    margin-bottom: 15px;
}

.modal-content-text ul,
.modal-content-text ol {
    margin: 10px 0;
    padding-left: 20px;
}

.modal-content-text li {
    margin: 5px 0;
    color: #ddd;
}