nxtgauge-admin-solid/src/app.css

150 lines
3.8 KiB
CSS
Raw Normal View History

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Exo+2:wght@400;500;600;700;800&display=swap');
@import "tailwindcss";
@theme {
--color-brand-orange: #fd6216;
--color-brand-navy: #050026;
--color-orange-50: #fff4ee;
--color-orange-100: #ffe4d0;
--color-orange-200: #ffc9a0;
--color-orange-500: #fd6216;
--color-orange-600: #e5560f;
/* Sidebar tokens */
--color-sidebar-bg: #ffffff;
--color-sidebar-border: #f1f5f9;
--color-sidebar-text: #64748b;
--color-sidebar-active-text: #0f172a;
/* Surface tokens */
--color-surface: #ffffff;
--color-surface-raised: #f8fafc;
--color-border-subtle: #f1f5f9;
--color-border: #e2e8f0;
--font-family-sans: 'Inter', 'Exo 2', sans-serif;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Inter', 'Exo 2', sans-serif;
background: #f8fafc;
color: #0f172a;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* ===== Scrollbar ===== */
.scrollbar {
scrollbar-width: thin;
scrollbar-color: #c7c7c7 transparent;
}
.scrollbar::-webkit-scrollbar { height: 8px; width: 8px; }
.scrollbar::-webkit-scrollbar-track { background: transparent; }
.scrollbar::-webkit-scrollbar-thumb { background-color: #c7c7c7; border-radius: 9999px; }
.scrollbar::-webkit-scrollbar-thumb:hover { background-color: #9ca3af; }
/* ===== Auth / Login page ===== */
.auth-page {
position: relative;
min-height: 100vh;
display: grid;
place-items: center;
padding: 20px;
overflow: hidden;
}
.auth-bg {
position: absolute;
inset: 0;
background:
radial-gradient(circle at 20% 20%, rgba(253, 98, 22, 0.24), transparent 42%),
radial-gradient(circle at 80% 10%, rgba(99, 102, 241, 0.16), transparent 34%),
linear-gradient(180deg, #100b2f 0%, #0c0828 52%, #07051d 100%);
}
.auth-layout {
position: relative;
z-index: 1;
width: min(1120px, 100%);
display: grid;
grid-template-columns: 1.08fr 0.92fr;
gap: 24px;
align-items: stretch;
}
.auth-visual {
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.18);
background: rgba(255, 255, 255, 0.08);
padding: 28px;
box-shadow: 0 24px 72px -34px rgba(0, 0, 0, 0.72);
}
.auth-visual-kicker {
margin: 0;
display: inline-flex;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.2);
background: rgba(255, 255, 255, 0.1);
color: #ffd7c2;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
padding: 6px 10px;
}
.auth-visual h1 {
margin: 16px 0 0;
font-size: clamp(30px, 3.4vw, 42px);
line-height: 1.1;
color: #fff;
}
.auth-visual p {
margin: 12px 0 0;
color: rgba(255, 255, 255, 0.82);
}
.auth-visual img {
margin-top: 18px;
width: 100%;
height: 280px;
border-radius: 16px;
object-fit: cover;
}
.auth-card {
position: relative;
z-index: 1;
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.22);
background: rgba(255, 255, 255, 0.96);
box-shadow: 0 24px 72px -34px rgba(0, 0, 0, 0.72);
padding: 30px;
color: #0f172a;
}
.auth-form-card { display: flex; flex-direction: column; }
.auth-logo { height: 52px; width: auto; object-fit: contain; margin: 0 auto; }
.auth-title { margin: 18px 0 0; text-align: center; font-size: 32px; font-weight: 800; color: #0f172a; }
.auth-copy { margin: 12px 0 0; text-align: center; color: #475569; }
.auth-form-grid { margin-top: 24px; }
.auth-switch { display: flex; justify-content: flex-end; margin-top: -2px; }
.auth-switch.split { justify-content: space-between; }
.auth-link-btn {
border: 0; padding: 0; background: transparent;
color: #fd6216; font-size: 13px; font-weight: 600; cursor: pointer;
}
.auth-link-btn:hover { color: #ea580c; text-decoration: underline; }
.auth-inline-msg { margin-top: 12px; }
.hint { margin: 6px 0 0; color: #64748b; font-size: 12px; }