Research-Stack/5-Applications/scripts/public/css/index.css
2026-05-05 21:09:48 -05:00

166 lines
3.3 KiB
CSS

:root {
--primary: #00f2ff;
--secondary: #7000ff;
--bg-dark: #050505;
--bg-surface: rgba(20, 20, 25, 0.7);
--text-main: #ffffff;
--text-dim: #b0b0b0;
--accent-glow: rgba(0, 242, 255, 0.3);
--error: #ff3e3e;
--success: #00ff88;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
body {
background: var(--bg-dark);
color: var(--text-main);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
overflow-x: hidden;
background-image:
radial-gradient(circle at 10% 20%, rgba(112, 0, 255, 0.1) 0%, transparent 40%),
radial-gradient(circle at 90% 80%, rgba(0, 242, 255, 0.1) 0%, transparent 40%);
}
.container {
width: 100%;
max-width: 600px;
padding: 2rem;
z-index: 1;
}
.card {
background: var(--bg-surface);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 24px;
padding: 3rem;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUp {
from { opacity: 0; transform: translateY(40px); }
to { opacity: 1; transform: translateY(0); }
}
h1 {
font-size: 2.5rem;
font-weight: 800;
margin-bottom: 0.5rem;
background: linear-gradient(135deg, var(--primary), var(--secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
letter-spacing: -1px;
}
p.subtitle {
color: var(--text-dim);
margin-bottom: 2.5rem;
font-size: 1.1rem;
}
.form-group {
margin-bottom: 1.5rem;
}
label {
display: block;
font-size: 0.9rem;
font-weight: 600;
color: var(--text-dim);
margin-bottom: 0.5rem;
transition: color 0.3s ease;
}
input, textarea, select {
width: 100%;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
padding: 1rem;
color: white;
font-size: 1rem;
transition: all 0.3s ease;
outline: none;
}
input:focus, textarea:focus, select:focus {
border-color: var(--primary);
background: rgba(255, 255, 255, 0.08);
box-shadow: 0 0 15px var(--accent-glow);
}
.btn-group {
margin-top: 2.5rem;
}
button {
width: 100%;
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
border: none;
border-radius: 12px;
padding: 1.2rem;
font-size: 1.1rem;
font-weight: 700;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0, 242, 255, 0.2);
}
button:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0, 242, 255, 0.4);
filter: brightness(1.1);
}
button:active {
transform: translateY(0);
}
.loader {
display: none;
width: 20px;
height: 20px;
border: 3px solid rgba(255,255,255,0.3);
border-radius: 50%;
border-top-color: #fff;
animation: spin 1s ease-in-out infinite;
margin-right: 10px;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.status-msg {
margin-top: 1.5rem;
padding: 1rem;
border-radius: 12px;
display: none;
font-weight: 500;
}
.status-msg.success {
background: rgba(0, 255, 136, 0.1);
color: var(--success);
border: 1px solid rgba(0, 255, 136, 0.2);
display: block;
}
.status-msg.error {
background: rgba(255, 62, 62, 0.1);
color: var(--error);
border: 1px solid rgba(255, 62, 62, 0.2);
display: block;
}