
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body, input, select, textarea {
    color: #666666;
    font-family: "Notosans", sans-serif;
    font-size: 14pt;
    font-weight: 300;
    line-height: 1.3;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    -ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    background-color: #e74c3c;
    border-radius: 4px;
    border: 0;
    color: #ffffff !important;
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    height: 2.0em;
    line-height: 2.15em;
    padding: 0 1.5em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

    input[type="submit"]:hover,
    input[type="reset"]:hover,
    input[type="button"]:hover,
    button:hover,
    .button:hover {
        background-color: #ffffff;
        color: #e74c3c !important;
    }

    input[type="submit"]:active,
    input[type="reset"]:active,
    input[type="button"]:active,
    button:active,
    .button:active {
        background-color: #5ec0b6;
    }

    input[type="submit"].icon,
    input[type="reset"].icon,
    input[type="button"].icon,
    button.icon,
    .button.icon {
        padding-left: 1.35em;
    }

        input[type="submit"].icon:before,
        input[type="reset"].icon:before,
        input[type="button"].icon:before,
        button.icon:before,
        .button.icon:before {
            margin-right: 0.5em;
        }

    input[type="submit"].fit,
    input[type="reset"].fit,
    input[type="button"].fit,
    button.fit,
    .button.fit {
        display: block;
        margin: 0 0 1em 0;
        width: 100%;
    }

    input[type="submit"].small,
    input[type="reset"].small,
    input[type="button"].small,
    button.small,
    .button.small {
        font-size: 0.7em;
    }

    input[type="submit"].big,
    input[type="reset"].big,
    input[type="button"].big,
    button.big,
    .button.big {
        font-size: 1.25em;
    }

    input[type="submit"].disabled, input[type="submit"]:disabled,
    input[type="reset"].disabled,
    input[type="reset"]:disabled,
    input[type="button"].disabled,
    input[type="button"]:disabled,
    button.disabled,
    button:disabled,
    .button.disabled,
    .button:disabled {
        background-color: rgba(255, 255, 255, 0.75) !important;
        box-shadow: inset 0 -0.15em 0 0 rgba(0, 0, 0, 0.15);
        color: #202024 !important;
        cursor: default;
        opacity: 0.25;
    }

    input[type="text"],
	input[type="password"],
	input[type="email"],
    input[type="tel"],
	select {
		height: 1.2em;
	}

	textarea {
		padding: 0.75em 1em;
        gap: 10px;
	}

    input[type="submit"].style2,
    input[type="reset"].style2,
    input[type="button"].style2,
    button.style2,
    .button.style2 {
        background-color: #7f92cf;
    }

        input[type="submit"].style2:hover,
        input[type="reset"].style2:hover,
        input[type="button"].style2:hover,
        button.style2:hover,
        .button.style2:hover {
            background-color: #92a2d6;
        }

        input[type="submit"].style2:active,
        input[type="reset"].style2:active,
        input[type="button"].style2:active,
        button.style2:active,
        .button.style2:active {
            background-color: #6c82c8;
        }

    input[type="submit"].style3,
    input[type="reset"].style3,
    input[type="button"].style3,
    button.style3,
    .button.style3 {
        background-color: #9d7ed0;
    }

        input[type="submit"].style3:hover,
        input[type="reset"].style3:hover,
        input[type="button"].style3:hover,
        button.style3:hover,
        .button.style3:hover {
            background-color: #ab91d7;
        }

        input[type="submit"].style3:active,
        input[type="reset"].style3:active,
        input[type="button"].style3:active,
        button.style3:active,
        .button.style3:active {
            background-color: #8f6bc9;
        }


.register-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 2em;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    height: 210px;
}
.required {
    color: #e74c3c !important;
    margin-left: 3px !important;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group .form-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
	font-size: 21px;
}

.form-group button {
	font-size: 18px;
    width: 100%;
    max-width: 70px;
    padding: 0;
    height: 2.7em;
}

.form-group input {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 23px;
}

.form-group input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.form-group input[readonly] {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

.form-row {
    display: flex !important;
    gap: 10px !important;
    align-items: flex-end !important;
}

.verify-button:disabled {
    cursor: not-allowed;
    background-color: #cccccc;
    transition: opacity 0.3s ease;
}

.verify-button {
    transition: opacity 0.3s ease;
}


.save-btn {
    padding: 12px 30px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 28px;
    cursor: pointer;
    transition: background-color 0.2s;
    line-height: 1;  /* 텍스트 수직 중앙 정렬 */
    display: inline-flex;  /* flex로 변경 */
    align-items: center;  /* 수직 중앙 정렬 */
    justify-content: center;  /* 수평 중앙 정렬 */
    height: 80px;  /* 버튼 높이 고정 */
	width: 100%;
    margin-top: 10px;
}

.save-btn:hover {
    background: #0056b3;
}



.home-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-button i {
    font-size: 2.2em;
}

.home-button span {
    font-size: 1em;
    font-weight: 500;
}

.home-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}



.alert-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10002;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 300px;
}

.alert-content {
    padding: 20px;
}

.alert-message {
    word-break: keep-all;
    white-space: pre-line;
    margin-top: 20px;
}

.alert-title {
    font-size: 1.0em;
    font-weight: bold;
    color: #686767;
    background-color: #f8f8f8;
    margin: -20px -20px 10px -20px;
    padding: 15px 15px;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid #eee;
}

.alert-close {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e74c3c;
    color: white;
    border: none;
    padding: 15px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s ease;
    min-height: 40px;
    line-height: 1;
    margin: 0 auto;     /* 좌우 마진을 auto로 설정하여 가운데 정렬 */
    margin-top: 20px;
    width: fit-content; /* 버튼 너비를 내용에 맞게 조정 */
}

.alert-close:hover {
    border: 1px solid #e74c3c;
    background: #ffffff;
    color: #e74c3c !important;
}



#banner .inner {
    text-align: center;
    position: relative;
    z-index: 2;
}

#banner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2em 1em;  /* 패딩 축소 */
    margin-top: 0;     /* 마진 제거 */
    margin-bottom: 20px;
    min-height: auto;  /* 최소 높이 자동 */
    max-height: none;  /* 최대 높이 제한 해제 */
    width: 100%;
    max-width: 100%;
    background-image: url("../../images/banner.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-top: 0;
    position: relative;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box; /* 패딩을 너비에 포함 */
}


@media screen and (max-width: 18800px) and (min-width: 1790px)  {

    .social-login {
        margin-top: 0px;
        text-align: center;
    }
}

@media screen and (max-width: 1789px) and (min-width: 1371px) {
            
    .social-login {
        margin-top: 0px;
        text-align: center;
    }
}

@media screen and (max-width: 1370px) and (min-width: 981px) {
        
    .social-login {
        margin-top: 0px;
        text-align: center;
    }
}

/* 모바일 */
@media screen and (max-width: 980px) {

    #banner {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2em 1em;  /* 패딩 축소 */
        margin-top: 0;     /* 마진 제거 */
        margin-bottom: 20px;
        min-height: auto;  /* 최소 높이 자동 */
        max-height: none;  /* 최대 높이 제한 해제 */
        width: 100%;
        max-width: 100%;
        background-image: url("../../images/banner.jpg");
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        border-top: 0;
        position: relative;
        text-align: center;
        overflow: hidden;
        box-sizing: border-box; /* 패딩을 너비에 포함 */
    }

    .social-login {
        margin-top: 0px;
        text-align: center;
    }

    .alert-popup {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10002;
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
        min-width: 300px;
    }
    
    .alert-content {
        padding: 20px;
    }
    
    .alert-message {
        word-break: keep-all;
        white-space: pre-line;
        font-size: 1.5em;
        margin-top: 20px;
    }
    
    .alert-title {
        font-size: 2.0em;
        font-weight: bold;
        color: #686767;
        background-color: #f8f8f8;
        margin: -20px -20px 10px -20px;
        padding: 15px 15px;
        border-radius: 10px 10px 0 0;
        border-bottom: 1px solid #eee;
    }
    
    .alert-close {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #e74c3c;
        color: white;
        border: none;
        padding: 20px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1.5em;
        transition: background 0.3s ease;
        min-height: 40px;
        line-height: 1;
        margin: 0 auto;     /* 좌우 마진을 auto로 설정하여 가운데 정렬 */
        margin-top: 20px;
        width: fit-content; /* 버튼 너비를 내용에 맞게 조정 */
    }
    
    .alert-close:hover {
        border: 1px solid #e74c3c;
        background: #ffffff;
        color: #e74c3c !important;
    }
}
