
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;
}

/* Login styles */
.login-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 2em;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    height: 440px;
}

.login-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 1.0em;
    font-size: 1.3em;
}

.form-group {
    margin-bottom: 1.5em;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    height: 2.7em;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #e74c3c;
    outline: none;
}

.remember-me {
    display: flex;
    align-items: center;
    margin: 1em 0;
}

.remember-me input[type="checkbox"] {
    margin-right: 0.5em;
}

.remember-me label {
    color: #666 !important;
    font-size: 0.9em;
}

.login-button {
    width: 100%;
    padding: 1em;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1em auto;
    height: 3.5em;
}

.login-button:hover {
    background: #c0392b;
}

.links {
    text-align: center;
    margin-top: 1.5em;
    font-size: 0.9em;
}

.links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.links a:hover {
    color: #e74c3c;
}

.divider {
    margin: 0 0.5em;
    color: #ddd;
}

.kakao-login-btn {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    transition: opacity 0.3s ease;
}

.kakao-login-btn:hover {
    opacity: 0.8;
}

.kakao-login-btn img {
    width: 100%;
    height: auto;
}





.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;
    }
}

