/* ============================================
   YDingAdmin - 登入頁樣式
   ============================================ */

body.login-body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
    background: linear-gradient(135deg, #1e2a3b 0%, #2d3e52 50%, #1a2634 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #ffffff;
}

.login-logo h2 {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
}

.login-logo p {
    font-size: 13px;
    margin: 0;
}

.form-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #495057;
}

.form-control {
    border-radius: 0 6px 6px 0 !important;
    font-size: 14px;
    padding: 10px 14px;
    border-color: #dee2e6;
}

.input-group-text {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    border-radius: 6px 0 0 6px !important;
    width: 40px;
    justify-content: center;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.15);
}

.btn-login {
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #2980b9, #1a6fa8);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.35);
}

.alert {
    border-radius: 8px;
    font-size: 13.5px;
    padding: 12px 16px;
}

@@media (max-width: 480px) {
    .login-box {
        padding: 30px 24px;
    }
}
