/* =================================================================== DevZoic Auth Pages — Custom CSS Matches Admin Dashboard Color Scheme =================================================================== */ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); /* ──────────────── Variables ──────────────── */ :root { --auth-primary: #00c853; --auth-primary-dark: #00a344; --auth-primary-light: #69f0ae; --auth-primary-rgb: 0, 200, 83; --auth-dark: #0d1117; --auth-dark-lighter: #161b22; --auth-dark-card: #1c2333; --auth-text: #e6edf3; --auth-text-secondary: #8b949e; --auth-text-muted: #6e7681; --auth-border: #30363d; --auth-gradient: linear-gradient(135deg, #00c853 0%, #00897b 100%); --auth-gradient-accent: linear-gradient(135deg, #00e676 0%, #00c853 50%, #00897b 100%); --auth-radius: 10px; --auth-radius-lg: 16px; --auth-transition: 0.25s ease; } /* ──────────────── Base ──────────────── */ body.auth-page { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--auth-dark); color: var(--auth-text); margin: 0; padding: 0; min-height: 100vh; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; } /* ──────────────── Layout ──────────────── */ .auth-wrapper { display: flex; min-height: 100vh; width: 100%; } /* ──────────────── Left Panel ──────────────── */ .auth-left { position: relative; width: 45%; min-height: 100vh; background: linear-gradient(180deg, #0d1117 0%, #161b22 50%, #0d1117 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; border-right: 1px solid rgba(255, 255, 255, 0.05); } /* Animated gradient blobs */ .auth-left::before { content: ''; position: absolute; width: 500px; height: 500px; top: -100px; left: -100px; background: radial-gradient(circle, rgba(0, 200, 83, 0.12) 0%, transparent 70%); animation: auth-float 8s ease-in-out infinite; z-index: 0; } .auth-left::after { content: ''; position: absolute; width: 400px; height: 400px; bottom: -80px; right: -80px; background: radial-gradient(circle, rgba(0, 137, 123, 0.1) 0%, transparent 70%); animation: auth-float 10s ease-in-out infinite reverse; z-index: 0; } @keyframes auth-float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -30px) scale(1.1); } } /* Grid pattern overlay */ .auth-left-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 40px 40px; z-index: 1; } .auth-left-content { position: relative; z-index: 2; text-align: center; padding: 40px; max-width: 440px; } .auth-left-logo { margin-bottom: 36px; } .auth-left-logo img { max-height: 42px; } .auth-left-heading { font-size: 30px; font-weight: 700; color: #ffffff; line-height: 1.3; margin-bottom: 12px; } .auth-left-heading span { background: var(--auth-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .auth-left-text { font-size: 15px; color: var(--auth-text-secondary); line-height: 1.6; margin-bottom: 32px; } /* Feature Cards */ .auth-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; } .auth-feature-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 12px; text-align: left; transition: all 0.3s ease; animation: auth-slide-in 0.5s ease both; } .auth-feature-card:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.1); transform: translateX(4px); } @keyframes auth-slide-in { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } } .auth-feature-icon { width: 42px; height: 42px; min-width: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; } .auth-feature-info h4 { font-size: 14px; font-weight: 600; color: #ffffff; margin: 0 0 2px 0; } .auth-feature-info p { font-size: 12px; color: var(--auth-text-muted); margin: 0; line-height: 1.4; } /* Trust Badge */ .auth-trust-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; background: rgba(0, 200, 83, 0.08); border: 1px solid rgba(0, 200, 83, 0.15); border-radius: 20px; font-size: 12px; color: var(--auth-primary-light); font-weight: 500; } .auth-trust-badge i { font-size: 16px; color: var(--auth-primary); } /* ──────────────── Right Panel ──────────────── */ .auth-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--auth-dark-lighter); min-height: 100vh; overflow-y: auto; } .auth-card { width: 100%; max-width: 440px; background: var(--auth-dark-card); border: 1px solid var(--auth-border); border-radius: var(--auth-radius-lg); padding: 40px 36px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(48, 54, 61, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.03); } /* ──────────────── Form Header ──────────────── */ .auth-header { text-align: center; margin-bottom: 32px; } /* Mobile logo (hidden on desktop) */ .auth-mobile-logo { display: none; margin-bottom: 24px; } .auth-mobile-logo img { max-height: 36px; } .auth-header h2 { font-size: 24px; font-weight: 700; color: #ffffff; margin-bottom: 8px; } .auth-header p { font-size: 14px; color: var(--auth-text-secondary); margin: 0; } /* ──────────────── Form Elements ──────────────── */ .auth-form .auth-field { margin-bottom: 20px; } .auth-form .auth-label { display: block; font-size: 13px; font-weight: 500; color: var(--auth-text); margin-bottom: 6px; } .auth-input-wrap { position: relative; } .auth-input-wrap input { width: 100%; height: 46px; padding: 0 44px 0 16px; background: var(--auth-dark); border: 1px solid var(--auth-border); border-radius: var(--auth-radius); color: var(--auth-text); font-size: 14px; font-family: inherit; transition: all var(--auth-transition); outline: none; } .auth-input-wrap input:focus { border-color: var(--auth-primary); box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.12); background: rgba(0, 200, 83, 0.02); } .auth-input-wrap input::placeholder { color: var(--auth-text-muted); } .auth-input-wrap .auth-input-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--auth-text-muted); pointer-events: none; } /* Password toggle */ .auth-pass-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--auth-text-muted); cursor: pointer; transition: color var(--auth-transition); background: none; border: none; padding: 0; line-height: 1; } .auth-pass-toggle:hover { color: var(--auth-primary); } /* Error state */ .auth-input-wrap input.is-invalid { border-color: #ef4444; } .auth-input-wrap input.is-invalid:focus { box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12); } .auth-error { display: block; font-size: 12px; color: #ef4444; margin-top: 6px; } /* ──────────────── Checkbox & Links Row ──────────────── */ .auth-options { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 8px; } .auth-check { display: flex; align-items: center; gap: 8px; cursor: pointer; } .auth-check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--auth-primary); cursor: pointer; border-radius: 4px; } .auth-check label { font-size: 13px; color: var(--auth-text-secondary); cursor: pointer; margin: 0; user-select: none; } .auth-forgot { font-size: 13px; font-weight: 500; color: var(--auth-primary); text-decoration: none; transition: color var(--auth-transition); } .auth-forgot:hover { color: var(--auth-primary-light); } /* ──────────────── Submit Button ──────────────── */ .auth-btn { width: 100%; height: 46px; background: var(--auth-gradient); border: none; border-radius: var(--auth-radius); color: #ffffff; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer; transition: all var(--auth-transition); box-shadow: 0 2px 12px rgba(0, 200, 83, 0.25); margin-bottom: 20px; } .auth-btn:hover { box-shadow: 0 4px 20px rgba(0, 200, 83, 0.4); transform: translateY(-1px); } .auth-btn:active { transform: translateY(0); } /* ──────────────── Bottom Link ──────────────── */ .auth-bottom-link { text-align: center; font-size: 14px; color: var(--auth-text-secondary); } .auth-bottom-link a { color: var(--auth-primary); font-weight: 600; text-decoration: none; transition: color var(--auth-transition); } .auth-bottom-link a:hover { color: var(--auth-primary-light); } /* ──────────────── Alert ──────────────── */ .auth-alert { padding: 12px 16px; border-radius: var(--auth-radius); font-size: 13px; margin-bottom: 20px; border: 1px solid; } .auth-alert-success { background: rgba(0, 200, 83, 0.08); border-color: rgba(0, 200, 83, 0.2); color: var(--auth-primary-light); } .auth-alert-danger { background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.2); color: #fca5a5; } /* ──────────────── Footer ──────────────── */ .auth-footer { text-align: center; margin-top: 32px; font-size: 12px; color: var(--auth-text-muted); } /* ──────────────── Responsive ──────────────── */ @media (max-width: 991px) { .auth-left { display: none; } .auth-right { min-height: 100vh; padding: 24px 16px; } .auth-mobile-logo { display: block; text-align: center; } .auth-card { padding: 32px 24px; max-width: 420px; } } @media (max-width: 575px) { .auth-card { padding: 28px 20px; border-radius: 12px; } .auth-header h2 { font-size: 22px; } .auth-input-wrap input { height: 44px; } .auth-btn { height: 44px; font-size: 14px; } }