0x1998 - MANAGER
Düzenlenen Dosya: login.css
/* ============================================================ LOGIN.CSS — Nexlance Auth Page Same purple theme as dashboard ============================================================ */ * { margin: 0; padding: 0; box-sizing: border-box; font-family: "Segoe UI", sans-serif; } body { background: #f3efff; min-height: 100vh; } /* ---- Full-page two-column layout ---- */ .auth-page { display: flex; min-height: 100vh; } /* ---- Left: Form side ---- */ .auth-card { width: 480px; flex-shrink: 0; background: #ffffff; display: flex; flex-direction: column; justify-content: center; padding: 52px 48px; box-shadow: 4px 0 30px rgba(108, 92, 231, 0.08); } /* ---- Brand / logo ---- */ .auth-brand { margin-bottom: 36px; } .auth-brand .logo { font-size: 1.6rem; font-weight: 800; color: #6c5ce7; letter-spacing: -0.5px; margin-bottom: 10px; } .auth-sub { font-size: 0.9rem; color: #999; line-height: 1.5; } /* ---- Form ---- */ .form { display: flex; flex-direction: column; gap: 20px; } .form > label { display: flex; flex-direction: column; gap: 7px; font-size: 0.85rem; font-weight: 600; color: #555; } .form input[type="email"], .form input[type="password"], .form input[type="text"], .form input[type="tel"] { width: 100%; padding: 11px 14px; border-radius: 10px; border: 1.5px solid #e0d6ff; background: #faf9ff; font-size: 0.9rem; color: #333; outline: none; transition: border-color 0.2s, box-shadow 0.2s; font-family: "Segoe UI", sans-serif; } .form input[type="email"]:focus, .form input[type="password"]:focus, .form input[type="text"]:focus, .form input[type="tel"]:focus { border-color: #6c5ce7; box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.12); background: #ffffff; } /* ---- Password row (input + show button) ---- */ .password-row { display: flex; gap: 8px; align-items: center; } .password-row input { flex: 1; } .small-btn { padding: 10px 14px; border-radius: 10px; border: 1.5px solid #e0d6ff; background: #f3efff; color: #6c5ce7; font-size: 0.8rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background 0.2s, border-color 0.2s; font-family: "Segoe UI", sans-serif; } .small-btn:hover { background: #e8e2ff; border-color: #6c5ce7; } /* ---- Form meta row (remember + terms) ---- */ .form-row { display: flex; align-items: center; } .form-meta { justify-content: space-between; } .form-row label.small { display: flex; align-items: center; gap: 7px; font-size: 0.82rem; color: #777; font-weight: 400; cursor: pointer; } .form-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: #6c5ce7; cursor: pointer; } .link-muted { font-size: 0.82rem; color: #aaa; text-decoration: none; transition: color 0.2s; } .link-muted:hover { color: #6c5ce7; } /* ---- Submit button ---- */ .btn-primary { background: #6c5ce7; color: #ffffff; border: none; border-radius: 12px; padding: 13px 24px; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; font-family: "Segoe UI", sans-serif; letter-spacing: 0.2px; } .btn-primary:hover { background: #4b3fbf; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(108, 92, 231, 0.35); } .btn-primary:active { transform: translateY(0); } .btn-block { width: 100%; } .btn-primary:disabled { background: #b2acd4; cursor: not-allowed; transform: none; box-shadow: none; } /* ---- Error / success message ---- */ .form-message { min-height: 20px; font-size: 0.86rem; font-weight: 500; text-align: center; border-radius: 8px; padding: 0; transition: all 0.2s; } .form-message.error { background: #ffe5e5; color: #d63031; padding: 10px 14px; } .form-message.success { background: #e0fff0; color: #00b894; padding: 10px 14px; } /* ---- Demo credentials note ---- */ .demo-note { font-size: 0.8rem; color: #bbb; text-align: center; line-height: 1.5; } .demo-note strong { color: #6c5ce7; } /* ---- Right: Illustration side ---- */ .auth-art { flex: 1; background: linear-gradient(135deg, #e8e2ff 0%, #d6ccff 50%, #c5b8f8 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px; position: relative; overflow: hidden; } /* Decorative background circles */ .auth-art::before { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(108, 92, 231, 0.1); top: -100px; right: -100px; } .auth-art::after { content: ''; position: absolute; width: 250px; height: 250px; border-radius: 50%; background: rgba(108, 92, 231, 0.08); bottom: -60px; left: -60px; } .auth-art img { width: 100%; max-width: 560px; border-radius: 16px; box-shadow: 0 20px 60px rgba(75, 63, 191, 0.25); position: relative; z-index: 1; object-fit: cover; } .auth-art-caption { margin-top: 24px; font-size: 0.9rem; color: #6c5ce7; text-align: center; font-weight: 500; max-width: 420px; line-height: 1.6; position: relative; z-index: 1; } /* ---- Responsive ---- */ @media (max-width: 900px) { .auth-art { display: none; } .auth-card { width: 100%; padding: 40px 28px; } } @media (max-width: 480px) { .auth-card { padding: 32px 20px; } .auth-brand .logo { font-size: 1.35rem; } } /* ---- Auth tabs ---- */ .auth-tabs { display: flex; margin-bottom: 28px; border-bottom: 2px solid #e0d6ff; } .auth-tab { flex: 1; background: none; border: none; padding: 11px 0; font-size: 0.9rem; font-weight: 600; color: #aaa; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color 0.2s, border-color 0.2s; font-family: "Segoe UI", sans-serif; } .auth-tab.active { color: #6c5ce7; border-bottom-color: #6c5ce7; } .auth-tab:hover:not(.active) { color: #4b3fbf; } /* ---- Field-level error messages ---- */ .field-error { display: none; font-size: 0.78rem; color: #d63031; margin-top: 4px; font-weight: 500; line-height: 1.3; } /* ---- Input error state ---- */ .form input[type="tel"].input-error, .form input.input-error { border-color: #d63031 !important; box-shadow: 0 0 0 3px rgba(214, 48, 49, 0.1) !important; background: #fff8f8 !important; } /* ---- Password requirement hint ---- */ .field-hint { font-size: 0.76rem; color: #aaa; margin-top: 5px; line-height: 1.45; font-weight: 400; } /* ---- Forgot Password link ---- */ .link-forgot { font-size: 0.82rem; color: #6c5ce7; text-decoration: none; font-weight: 500; transition: color 0.2s, text-decoration 0.2s; } .link-forgot:hover { color: #4b3fbf; text-decoration: underline; } /* ---- Forgot password description text ---- */ .forgot-desc { font-size: 0.88rem; color: #777; line-height: 1.6; margin-bottom: 20px; text-align: center; } /* ---- Forgot email input (inherits form styles via inline, but this targets focus) ---- */ #forgotEmail:focus { border-color: #6c5ce7 !important; box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.12) !important; background: #ffffff !important; } #forgotEmail.input-error { border-color: #d63031 !important; box-shadow: 0 0 0 3px rgba(214, 48, 49, 0.1) !important; background: #fff8f8 !important; }
geri dön