/* ========== 로그인 페이지 스타일 ========== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #2A3F54;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 480px;
}

.logo-section {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center
}

.logo-icon {
    display: flex;
    margin-right: 5px;
    align-items: center;
}

.logo-icon i {
    font-size: 35px;
    color: white;
    margin-right: 5px;
}

.logo-text {
    color: white;
    font-size: 35px;
    font-weight: 500;
    letter-spacing: 1px;
}

.login-box {
    background: white;
    border-radius: 16px;
    padding: 40px 45px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 25px;
    position: relative;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #b0b0b0;
    font-size: 20px;
}

.form-input {
    width: 100%;
    padding: 18px 20px 18px 60px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
}

.form-input::placeholder {
    color: #b0b0b0;
}

.login-button {
    width: 100%;
    padding: 18px;
    background-color: #1a252f;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgb(110, 121, 130);
}

.login-button:active {
    transform: translateY(0);
}

/* 에러/성공 메시지 스타일 */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 14px;
    animation: slideDown 0.3s ease;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 */
@media (max-width: 768px) {
    .login-box {
        padding: 40px 30px;
    }

    .logo-text {
        font-size: 36px;
    }

    .login-title {
        font-size: 28px;
    }
}