@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text&family=Roboto:wght@400;500;600;700&display=swap');

* { margin:0; padding:0; box-sizing:border-box; font-family:"Roboto",sans-serif; }

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef0f8 0%, #e0e7ff 50%, #f0fdf4 100%) !important;
    padding: 20px;
}

.login-container {
    background: #fff !important;
    width: 100%;
    max-width: 420px;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(106,17,203,0.12), 0 4px 16px rgba(0,0,0,0.06);
    overflow: hidden;
}

.login-banner {
    background: linear-gradient(135deg, #6a11cb, #2575fc) !important;
    padding: 36px 32px 28px;
    text-align: center;
    color: white;
}
.robot-icon {
    width: 80px; height: 80px;
    margin: 0 auto 14px;
    border-radius: 24px;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    backdrop-filter: blur(4px);
}
.robot-icon img { width:85%; height:85%; object-fit:contain; }
.logo h1 {
    font-family: "DM Serif Text", serif;
    font-size: 28px; font-weight: 400;
    margin-bottom: 6px; color: white !important;
}
.tagline { font-size: 14px; opacity: 0.85; color: white !important; }

.login-form-wrap { padding: 28px 32px 32px; }

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block; font-size: 13px; font-weight: 600;
    color: #555 !important; margin-bottom: 7px; letter-spacing: 0.02em;
}
.form-group input {
    width: 100%; padding: 13px 16px;
    border: 1.5px solid #e5e7eb; border-radius: 14px;
    font-size: 16px; color: #111 !important; background: #f9fafb !important;
    outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-group input:focus {
    border-color: #6a11cb !important; background: #fff !important;
    box-shadow: 0 0 0 4px rgba(106,17,203,0.08);
}

.login-btn {
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, #6a11cb, #2575fc) !important;
    color: #fff !important; border: none; border-radius: 14px;
    font-size: 15px; font-weight: 700;
    cursor: pointer; margin-top: 6px;
    transition: opacity 0.2s, transform 0.1s;
    box-shadow: 0 4px 16px rgba(106,17,203,0.3);
}
.login-btn:hover { opacity: 0.92; }
.login-btn:active { transform: scale(0.98); }

.error-msg {
    color: #dc2626; font-size: 13px;
    text-align: center; margin-top: 10px;
    min-height: 18px; font-weight: 500;
}

.signup-text {
    text-align: center; margin-top: 20px;
    font-size: 14px; color: #888 !important;
}
.signup-text a { color: #6a11cb !important; font-weight: 700; text-decoration: none; }
.signup-text a:hover { text-decoration: underline; }

@media (max-width: 480px) {
    body { padding: 0; background: linear-gradient(135deg, #eef0f8 0%, #e0e7ff 50%, #f0fdf4 100%) !important; }
    .login-container { border-radius: 0; box-shadow: none; max-width: 100%; min-height: 100dvh; display: flex; flex-direction: column; }
    .login-banner { padding: 48px 24px 24px; }
    .login-form-wrap { padding: 24px 24px 40px; flex: 1; }
    .robot-icon { width: 72px; height: 72px; border-radius: 20px; }
    .logo h1 { font-size: 24px; }
}
