/**
 * 메일 관리 시스템 - 로그인 페이지 스타일
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', Arial, sans-serif;
    background: #000000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.login-box {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    padding: 50px 40px;
    position: relative;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header .logo-icon {
    width: 72px;
    height: 72px;
    background: #000000;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.login-header .logo-icon i {
    font-size: 32px;
    color: #FFFFFF;
}

.login-header .logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 6px;
}

.login-header .subtitle {
    font-size: 14px;
    color: #64748B;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #F8FAFC;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #000000;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.input-wrapper input::placeholder {
    color: #94A3B8;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 16px;
    transition: color 0.2s;
}

.input-wrapper:focus-within i {
    color: #000000;
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.btn-login:hover {
    background: #333333;
}

.btn-login:active {
    transform: scale(0.98);
}

.btn-login:disabled {
    background: #94A3B8;
    cursor: not-allowed;
}

.alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-danger {
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

.alert-success {
    background: #F0FDF4;
    color: #16A34A;
    border: 1px solid #BBF7D0;
}

.alert-warning {
    background: #FFFBEB;
    color: #D97706;
    border: 1px solid #FDE68A;
}

.dev-mode-badge {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #F59E0B;
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-text {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #F5F5F5;
    font-size: 12px;
    color: #94A3B8;
}

@media (max-width: 480px) {
    .login-container {
        padding: 15px;
    }

    .login-box {
        padding: 40px 24px;
        border-radius: 12px;
    }

    .login-header .logo-icon {
        width: 64px;
        height: 64px;
    }

    .login-header .logo-icon i {
        font-size: 28px;
    }

    .login-header .logo-text {
        font-size: 20px;
    }
}
