body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 750px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.header {
    background-color: #5d34a4;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: -0.5px;
}

.content {
    padding: 20px;
}

.section {
    margin-bottom: 25px;
}

.list-style {
    padding-left: 20px;
    margin-top: 10px;
    list-style-type: none;
}

/* 450px 미만일 때 여백 줄이기 */
@media (max-width: 450px) {
    .list-style {
        padding-left: 10px;
    }
    .list-style li {
        padding-left: 15px;
    }
}

.list-style li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 20px;
    line-height: 1.4;
    color: #555;
    font-size: 14px;
}

.list-style li:before {
    content: attr(data-list-number);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.option-group {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.option-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    cursor: pointer;
}

.option-item input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    outline: none;
    flex-shrink: 0;
}

.option-item input[type="radio"]:checked {
    border-color: #5d34a4;
}

.option-item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #5d34a4;
    border-radius: 50%;
}

.option-item span {
    color: #333;
    font-weight: 500;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #5d34a4;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

@media (max-width: 420px) {
    .button-group {
        flex-direction: column;
    }
    .button {
        width: 100%;
    }
}

.button {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s;
}

.apply-button {
    background-color: #d15647;
}

.apply-button:hover {
    background-color: #c04c40;
}

.inquiry-button {
    background-color: #f7d242;
    color: #333;
}

.inquiry-button:hover {
    background-color: #e5c33a;
}

.service-number {
    color: #333;
    font-size: 15px;
    font-weight: bold;
    margin-top: 20px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    color: #333;
}

.modal-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
    text-align: left;
}

.modal-content p span {
    font-weight: bold;
    color: #000;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-buttons button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

.modal-confirm-button {
    background-color: #d15647;
    color: #fff;
}

.modal-confirm-button:hover {
    background-color: #c04c40;
}

.modal-cancel-button {
    background-color: #ccc;
    color: #333;
}

.modal-cancel-button:hover {
    background-color: #bbb;
}