ExamCraftAI / Backend /static /css /style.css
Hkoradiya123
Initial commit
5463318
Raw History Blame Contribute Delete
5.06 kB
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Plus+Jakarta+Sans:wght@300;400;600;800&display=swap');
:root {
--primary: #6366f1;
--primary-dark: #4f46e5;
--primary-glow: rgba(99, 102, 241, 0.4);
--secondary: #f43f5e;
--accent: #10b981;
--bg-dark: #020617;
--card-bg: rgba(30, 41, 59, 0.5);
--border-glass: rgba(255, 255, 255, 0.08);
--text-main: #f8fafc;
--text-muted: #94a3b8;
}
body {
background-color: var(--bg-dark);
background-image:
radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0, transparent 50%),
radial-gradient(at 100% 0%, rgba(244, 63, 94, 0.1) 0, transparent 50%),
radial-gradient(at 50% 100%, rgba(16, 185, 129, 0.05) 0, transparent 50%);
color: var(--text-main);
font-family: 'Plus Jakarta Sans', sans-serif;
min-height: 100vh;
margin: 0;
overflow-x: hidden;
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes glow {
0%,
100% {
box-shadow: 0 0 20px var(--primary-glow);
}
50% {
box-shadow: 0 0 40px var(--primary-glow);
}
}
.animate-in {
animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
/* Glass UI Components */
.glass-card {
background: var(--card-bg);
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
border: 1px solid var(--border-glass);
border-radius: 2rem;
padding: 2.5rem;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.glass-card:hover {
transform: translateY(-8px) scale(1.01);
border-color: rgba(255, 255, 255, 0.2);
box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
}
/* Buttons */
.btn-primary-custom {
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
border: none;
padding: 1rem 2rem;
border-radius: 1.2rem;
font-weight: 700;
color: white;
letter-spacing: 0.5px;
transition: all 0.3s;
position: relative;
overflow: hidden;
z-index: 1;
}
.btn-primary-custom::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
opacity: 0;
z-index: -1;
transition: opacity 0.3s;
}
.btn-primary-custom:hover {
transform: scale(1.05);
box-shadow: 0 10px 25px -5px var(--primary-glow);
}
.btn-primary-custom:hover::before {
opacity: 1;
}
/* Typography */
.text-gradient {
background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 50%, #4f46e5 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: 800;
}
h1,
h2,
h3 {
font-family: 'Plus Jakarta Sans', sans-serif;
letter-spacing: -0.02em;
}
/* Form Styling */
.form-control,
.form-select {
background: rgba(15, 23, 42, 0.6) !important;
border: 1px solid var(--border-glass) !important;
border-radius: 1rem !important;
padding: 0.8rem 1.2rem !important;
color: white !important;
transition: all 0.3s !important;
}
.form-control:focus,
.form-select:focus {
background: rgba(30, 41, 59, 0.8) !important;
border-color: var(--primary) !important;
box-shadow: 0 0 0 4px var(--primary-glow) !important;
transform: translateY(-2px);
}
/* Badges and Indicators */
.status-indicator {
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--accent);
display: inline-block;
margin-right: 8px;
box-shadow: 0 0 10px var(--accent);
}
/* Navigation */
.navbar {
background: rgba(2, 6, 23, 0.7) !important;
backdrop-filter: blur(15px);
border-bottom: 1px solid var(--border-glass);
padding: 1.2rem 0;
}
.navbar-brand {
font-size: 1.5rem;
letter-spacing: -0.5px;
}
/* Step Indicators */
.step-dot {
width: 35px;
height: 35px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
margin-bottom: 0.5rem;
transition: all 0.3s;
}
.step-active .step-dot {
background: var(--primary);
box-shadow: 0 0 20px var(--primary-glow);
}
/* Result Preview Paper */
#paperPreview {
background: rgba(15, 23, 42, 0.8) !important;
color: var(--text-main) !important;
border: 1px solid var(--border-glass);
box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
line-height: 1.6;
}
#paperPreview h2,
#paperPreview h4 {
color: var(--primary) !important;
}
#paperPreview strong {
color: #fff;
}
#paperPreview .text-muted {
color: var(--text-muted) !important;
}
/* Fix for dark text in inputs or specific areas */
.text-dark {
color: var(--text-main) !important;
}
.bg-white {
background-color: transparent !important;
}