rithwikreal's picture
Update style.css
40a2f0b verified
/* RESET */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', sans-serif;
}
/* =========================
WELCOME / LOGIN PAGE
========================= */
.welcome-body {
min-height: 100vh;
background: linear-gradient(135deg, #4f46e5, #06b6d4, #22c55e);
display: flex;
align-items: center;
justify-content: center;
color: #fff;
}
.welcome-container {
display: flex;
width: 90%;
max-width: 1100px;
background: rgba(255,255,255,0.1);
backdrop-filter: blur(18px);
border-radius: 28px;
overflow: hidden;
box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
/* LEFT HERO */
.welcome-left {
flex: 1;
padding: 70px 60px;
position: relative;
}
.welcome-left h1 {
font-size: 3.2rem;
font-weight: 900;
}
.welcome-left h2 {
margin: 15px 0;
font-size: 1.5rem;
font-weight: 600;
}
.welcome-left p {
max-width: 420px;
line-height: 1.7;
font-size: 1.05rem;
}
.glow-circle {
position: absolute;
bottom: -80px;
left: -80px;
width: 280px;
height: 280px;
background: radial-gradient(circle, #fff, transparent 60%);
opacity: 0.2;
}
/* LOGIN CARD */
.login-card {
width: 380px;
background: white;
color: #0f172a;
padding: 45px 35px;
}
.login-card h3 {
font-size: 1.6rem;
margin-bottom: 5px;
}
.subtext {
color: #64748b;
margin-bottom: 25px;
}
.login-card input {
width: 100%;
padding: 13px;
margin-bottom: 15px;
border-radius: 10px;
border: 1px solid #cbd5e1;
}
.login-btn {
width: 100%;
padding: 13px;
border-radius: 999px;
border: none;
background: linear-gradient(135deg, #6366f1, #06b6d4);
color: white;
font-size: 1rem;
cursor: pointer;
transition: 0.3s;
}
.login-btn:hover {
transform: scale(1.05);
}
.demo-cred {
margin-top: 18px;
font-size: 0.85rem;
text-align: center;
}
.error-msg {
color: #ef4444;
text-align: center;
margin-top: 10px;
}
/* =========================
APP / HOME PAGE
========================= */
.app-body {
min-height: 100vh;
background: linear-gradient(135deg, #f8fafc, #e0f2fe);
color: #0f172a;
}
/* HEADER */
.app-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 18px 30px;
background: rgba(255,255,255,0.8);
backdrop-filter: blur(12px);
box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.logo {
font-size: 1.3rem;
font-weight: 800;
color: #2563eb;
}
.logout-btn {
background: #ef4444;
color: #fff;
border: none;
padding: 9px 18px;
border-radius: 999px;
cursor: pointer;
font-weight: 600;
}
/* HERO */
.hero {
text-align: center;
padding: 90px 20px;
}
.hero h1 {
font-size: 3rem;
font-weight: 900;
color: #2563eb;
margin-bottom: 15px;
}
.hero p {
max-width: 650px;
margin: 0 auto 50px;
color: #475569;
font-size: 1.1rem;
}
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 25px;
max-width: 900px;
margin: auto;
}
.feature-card {
background: white;
padding: 25px;
border-radius: 20px;
box-shadow: 0 15px 35px rgba(0,0,0,0.08);
font-weight: 600;
transition: 0.3s;
}
.feature-card:hover {
transform: translateY(-10px);
}
/* VOICE BUTTON */
.voice-button {
position: fixed;
bottom: 30px;
left: 30px;
width: 70px;
height: 70px;
border-radius: 50%;
border: none;
background: linear-gradient(135deg, #22c55e, #06b6d4);
color: white;
font-size: 1.8rem;
cursor: pointer;
box-shadow: 0 20px 40px rgba(6,182,212,0.5);
}
/* MOBILE */
@media (max-width: 900px) {
.welcome-container {
flex-direction: column;
}
.welcome-left {
text-align: center;
}
.login-card {
width: 100%;
}
}