@font-face {
    font-family: 'SEBANG';
    src: url('../font/SEBANG_Gothic.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'SEBANG-Bold';
    src: url('../font/SEBANG_Gothic_Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: bold;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SEBANG', 'SEBANG-Bold', sans-serif;
    background: linear-gradient(135deg, rgba(175, 226, 178, 0.8) 0%, rgba(129, 187, 132, 0.8) 100%),
        url('../images/bg-1.jpg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* 메인 컨테이너 - 좌우 담당자 정보 포함 */
.main-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
}

/* 좌측 담당자 정보 */
.side-contacts {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #03a9f3, #0288d1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(3, 169, 243, 0.3);
}

.contact-card .role {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 6px;
    line-height: 1.3;
}

.contact-card .name {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
}

/* 중앙 로그인 컨테이너 */
.login-container {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    max-width: 450px;
    width: 100%;
    min-height: 700px;
    flex: 1;
}

.slide-section {
    height: 300px;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
    padding: 30px;
}

.slide.active {
    opacity: 1;
}

.slide:nth-child(1) {
    background: linear-gradient(rgba(3, 169, 243, 0.7), rgba(3, 169, 243, 0.7)),
        url('https://images.unsplash.com/photo-1532996122724-e3c354a0b15b?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
}

.slide:nth-child(2) {
    background: linear-gradient(rgba(3, 169, 243, 0.7), rgba(3, 169, 243, 0.7)),
        url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
}

.slide:nth-child(3) {
    background: linear-gradient(rgba(3, 169, 243, 0.7), rgba(3, 169, 243, 0.7)),
        url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
}

.slide h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide p {
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.form-section {
    flex: 1;
    padding: 40px 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo p.logo_title {
    color: #3b3b3b;
}

.logo .m-contact {
    margin-top: 16px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus {
    outline: none;
    border-color: #03a9f3;
    background: white;
    box-shadow: 0 0 0 3px rgba(3, 169, 243, 0.1);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 20px;
    color: #666;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: -10px;
    left: 15px;
    font-size: 0.8rem;
    color: #03a9f3;
    background: white;
    padding: 0 8px;
}

.login-btn {
    background: linear-gradient(135deg, #03a9f3, #0288d1);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(3, 169, 243, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

.company-info {
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
    font-size: 0.8rem;
    color: #666;
    line-height: 1.6;
}

.company-info h3 {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.company-info div {
    margin-bottom: 4px;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .main-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .side-contacts {
        flex-direction: row;
        flex: none;
        width: 100%;
        max-width: 450px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-card {
        flex: 1 1 200px;
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .main-wrapper {
        gap: 10px;
    }

    .side-contacts {
        gap: 10px;
    }

    .contact-card {
        padding: 15px;
        min-width: 140px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }

    .contact-card .role {
        font-size: 0.75rem;
    }

    .contact-card .name {
        font-size: 0.9rem;
    }

    .login-container {
        max-width: 100%;
        min-height: 650px;
    }

    .slide-section {
        height: 250px;
    }

    .form-section {
        padding: 30px 25px 20px;
    }

    .slide h2 {
        font-size: 1.5rem;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 좌우 담당자 애니메이션 */
.side-contacts.left .contact-card {
    animation: slideInLeft 0.6s ease-out;
    animation-fill-mode: both;
}

.side-contacts.right .contact-card {
    animation: slideInRight 0.6s ease-out;
    animation-fill-mode: both;
}

.side-contacts .contact-card:nth-child(1) {
    animation-delay: 0.1s;
}

.side-contacts .contact-card:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/*  카카오톡채널 */
#chat-channel-button {
    position: fixed;
    z-index: 999;
    right: 30px;
    bottom: 30px;
}
