/* 글꼴 설정 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

/* 전역 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
/*    background: linear-gradient(to bottom, #6a3bff, #e83e8c);*/
    background-image: url('../img/bodybg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    max-width: 100%;
    padding-top:80px;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url('../img/bg.jpg');;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;;

}
.text-white{
    color: #fff;
}

.img-responsive{
    max-width: 100%;
    width: 100%;
}
.header-container{
    padding-top:0;
}

/* 아코디언 스타일 */
.accordion {
    width: 100%;
    margin-bottom: 10px;
}

.accordion-button {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid #fff;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.accordion-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.accordion-button .arrow {
    transition: transform 0.3s;
}

.accordion-button.active .arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0.05);
}

.accordion-content.active {
    max-height: 500px;
    padding: 15px;
    border: 1px solid #fff;
    border-top: none;
}

.accordion-content .privacy-text {
    margin: 0;
    color: #000;
    font-size: 13px;
    line-height: 1.6;
}

/* 헤더 스타일 */
.header {
    text-align: center;
    color: white;
    padding: 20px 15px;
}

.header h1 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.highlight {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    margin-top: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* 등록 폼 스타일 */
.registration-form {
    flex: 1;
    padding: 20px 25px;
    /*margin-top:40%;*/
}

.form-group {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: 500;
    padding-left:1px;
    margin-bottom: 5px;
    color: #333;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #555;
    background-color: #f9f9f9;
}

input::placeholder {
    color: #aaa;
}

.radio-group {
    padding-bottom: 20px;
}

.radio-options {
    margin-top: 10px;
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-label input[type="radio"] , .radio-label input[type="checkbox"] {
    display: none;
}

.radio-custom {
    width: 23px;
    height: 23px;
    border-radius: 0;
    border: 2px solid #fff;
    margin-right: 8px;
    position: relative;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
}

/* 체크박스 스타일 */
.checkbox-custom {
    width: 23px;
    height: 23px;
    border-radius: 3px;
    border: 2px solid #fff;
    margin-right: 8px;
    position: relative;
    display: inline-block;
}

.radio-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

.privacy-label {
    margin-bottom: 10px;
}

.privacy-text {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #333;
}

.privacy-options {
    margin-top: 15px;
}

.submit-group {
    text-align: center;
    background-color: transparent;
    padding: 0;
    border:0px !important;
}

.submit-btn {
    background-color: #514799;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    width: 80%;
    max-width: 300px;
}

.submit-btn:hover {
    background-color: #5930d8;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* 푸터 스타일 */
.footer {
    padding: 20px 15px;
    text-align: center;
}

.logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo {
    height: 30px;
    margin: 0 auto;
    width: 100%;
}

/* 완료 메시지 페이지 스타일 */
.complete-message {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px 15px;
    background-color: rgba(255, 255, 255, 0.9);
    margin: 20px 15px;
    border-radius: 10px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    margin-bottom: 20px;
}

.complete-message h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.complete-message p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #555;
}

.buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.btn {
    background-color: #6a3bff;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #5930d8;
}

/* 검색 폼 스타일 */
.search-form {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px 15px;
    margin: 20px 15px;
}

.search-form h2 {
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.search-form p {
    text-align: center;
    margin-bottom: 20px;
    color: #555;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

.registration-info {
    margin-top: 20px;
}

.registration-info h3 {
    margin-bottom: 15px;
    text-align: center;
}

.registration-info table {
    width: 100%;
    border-collapse: collapse;
}

.registration-info table th,
.registration-info table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.registration-info table th {
    text-align: left;
    width: 30%;
    background-color: #f0f0f0;
}

input[type="text"], input[type="tel"], input[type="email"], input[type="password"], select{
    border:0;
    color:#fff;
    background-color: #ffffff00;
}
.form-group{
    border:1px solid #fff;
    background-color: #ffffff00;
}
.radio-group label, .privacy-label, .radio-label{
    color:#fff;
}
.radio-group{
    padding:15px;
}

.p-v{
    display: block;
}
.m-v{
    display: none;
}

@media(max-width: 991px){

    .p-v{   
        display: none;
    }
    .m-v{
        display: block;
    }
}

/* 미디어 쿼리 - 모바일 최적화 */
@media (min-width: 768px) {
    .logo {
        height: 50px;
    }
        .header{
        padding:0;
    }
    .registration-form{
        /*max-width: 1000px;*/
        margin:0 auto;
    }
    .container {
        /*max-width: 480px;*/
        max-width: 100%;
        margin: 0 auto;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    }
}