:root {
--primary: #00bcd4;
--secondary: #ff4081;
--accent: #7c4dff;
--bg-light: #fdfdff;
--bg-panel: rgba(255, 255, 255, 0.75);
--glass-border: rgba(0, 0, 0, 0.08);
--text-main: #1a1a2e;
--text-muted: #6b7280;
--font-main: 'Inter', sans-serif;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: var(--font-main);
background-color: var(--bg-light);
color: var(--text-main);
min-height: 100vh;
margin: 0;
padding: 0;
overflow-x: hidden;
background:
radial-gradient(circle at 0% 0%, rgba(0, 188, 212, 0.1) 0%, transparent 40%),
radial-gradient(circle at 100% 100%, rgba(255, 64, 129, 0.1) 0%, transparent 40%),
radial-gradient(circle at 50% 50%, rgba(124, 77, 255, 0.05) 0%, transparent 50%),
var(--bg-light);
line-height: 1.5;
}
body::before {
content: "";
position: fixed;
top: 0; left: 0; width: 100%; height: 100%;
background-image:
linear-gradient(rgba(0, 188, 212, 0.05) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 188, 212, 0.05) 1px, transparent 1px);
background-size: 40px 40px;
pointer-events: none;
z-index: -1;
}
.flex-center {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 2rem;
}
.glass-panel {
background: var(--bg-panel);
backdrop-filter: blur(25px) saturate(180%);
-webkit-backdrop-filter: blur(25px) saturate(180%);
border: 1px solid var(--glass-border);
border-radius: 2.5rem;
padding: 3.5rem;
box-shadow:
0 15px 35px rgba(0, 0, 0, 0.05),
0 5px 15px rgba(0, 0, 0, 0.03);
max-width: 800px;
width: 100%;
animation: floatIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
position: relative;
}
.title {
font-size: 3.5rem;
font-weight: 800;
margin-bottom: 1.5rem;
letter-spacing: -0.02em;
background: linear-gradient(135deg, var(--primary), var(--accent), var(--secondary));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
.subtitle {
font-size: 1.25rem;
color: var(--text-muted);
margin-bottom: 2.5rem;
font-weight: 500;
max-width: 500px;
margin-left: auto;
margin-right: auto;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 1.1rem 2.5rem;
font-size: 1rem;
font-weight: 700;
border-radius: 1.5rem;
text-transform: uppercase;
letter-spacing: 0.1em;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
text-decoration: none;
border: none;
}
.btn-primary {
background: linear-gradient(135deg, var(--primary), var(--accent));
color: #fff;
box-shadow: 0 10px 20px rgba(0, 188, 212, 0.2);
}
.btn-primary:hover {
transform: translateY(-3px) scale(1.02);
box-shadow: 0 15px 30px rgba(0, 188, 212, 0.3);
}
.btn-outline {
background: #fff;
border: 1px solid var(--glass-border);
color: var(--text-main);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.btn-outline:hover {
background: var(--bg-light);
border-color: var(--secondary);
color: var(--secondary);
}
.tech-stack {
display: flex;
gap: 0.75rem;
justify-content: center;
margin-top: 3rem;
flex-wrap: wrap;
}
.badge {
background: #fff;
border: 1px solid var(--glass-border);
padding: 0.6rem 1.4rem;
border-radius: 2rem;
font-size: 0.85rem;
font-weight: 700;
color: var(--text-muted);
transition: all 0.3s ease;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}
.badge:hover {
background: var(--primary);
color: #fff;
transform: scale(1.1) rotate(-2deg);
}
.form-label {
display: block;
font-size: 0.9rem;
font-weight: 700;
color: var(--accent);
margin-bottom: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.form-control {
width: 100%;
background: #fff;
border: 2px solid var(--glass-border);
border-radius: 1.25rem;
padding: 1.1rem 1.5rem;
color: var(--text-main);
font-size: 1rem;
transition: all 0.3s ease;
outline: none;
}
.form-control:focus {
border-color: var(--primary);
box-shadow: 0 0 15px rgba(0, 188, 212, 0.1);
}
@keyframes floatIn {
from {
opacity: 0;
transform: translateY(30px) scale(0.95);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
.alert {
padding: 1.25rem 1.75rem;
border-radius: 1.25rem;
margin-bottom: 1.5rem;
font-size: 0.9rem;
font-weight: 500;
}
.alert-info {
background: rgba(0, 188, 212, 0.05);
border: 1px solid var(--primary);
color: #008ba3;
}
.toast-container {
background: var(--bg-panel);
backdrop-filter: blur(20px);
border-radius: 1.25rem;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
min-width: 300px;
border: 1px solid var(--glass-border);
overflow: hidden;
}
.toast-success {
border-left: 6px solid #4caf50;
color: #2e7d32;
}
.toast-error {
border-left: 6px solid #f44336;
color: #c62828;
}
[x-cloak] { display: none !important; }
.split-screen {
display: flex;
min-height: 100vh;
width: 100%;
}
.split-side-visual {
flex: 1.2;
background: linear-gradient(135deg, var(--primary), var(--accent), var(--secondary));
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 4rem;
color: #fff;
text-align: center;
}
.visual-inner {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
padding: 3rem;
border-radius: 2rem;
border: 1px solid rgba(255, 255, 255, 0.2);
animation: floatIn 1s ease-out;
}
.split-side-content {
flex: 1;
background: #fff;
display: flex;
align-items: center;
justify-content: center;
padding: 4rem;
}
.content-container {
max-width: 450px;
width: 100%;
}
@media (max-width: 992px) {
.split-screen {
flex-direction: column;
}
.split-side-visual {
min-height: 350px;
padding: 2rem;
}
.split-side-content {
padding: 3rem 2rem;
}
}
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-left { text-align: left; }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2.5rem; }
.w-100 { width: 100%; }
.p-4 { padding: 1.5rem; }
.bg-dark-soft { background: #f8f9fa; border: 1px solid var(--glass-border); }
.border-radius-sm { border-radius: 1rem; }
.tracking-widest { letter-spacing: 0.2em; }
.text-uppercase { text-transform: uppercase; }
.flex-column { flex-direction: column; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.alert-box {
position: fixed;
top: 2rem;
right: 2rem;
z-index: 12000;
display: flex;
align-items: center;
padding: 1.25rem 2rem;
border-radius: 1.5rem;
gap: 1rem;
border-left: 6px solid transparent;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(15px);
box-shadow: 0 15px 35px rgba(0,0,0,0.1);
animation:
slideInRight 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
fadeOut 0.5s ease 5s forwards;
min-width: 300px;
max-width: 450px;
}
@keyframes slideInRight {
from { opacity: 0; transform: translateX(100px) scale(0.9); }
to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes fadeOut {
from { opacity: 1; transform: translateY(0); }
to { opacity: 0; transform: translateY(-20px); pointer-events: none; visibility: hidden; }
}
.htmx-indicator-bar {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 3px;
background: transparent;
z-index: 20000;
pointer-events: none;
}
.htmx-request .htmx-indicator-bar-inner {
width: 100%;
height: 100%;
background: linear-gradient(90deg, var(--primary), var(--secondary));
animation: htmx-loading-bar 2s ease-in-out infinite;
}
@keyframes htmx-loading-bar {
0% { transform: translateX(-100%); }
50% { transform: translateX(0); }
100% { transform: translateX(100%); }
}
.alert-box {
position: fixed;
top: 2rem;
right: 2rem;
z-index: 12000;
display: flex;
align-items: center;
padding: 1.25rem 2rem;
border-radius: 1.5rem;
gap: 1rem;
border-left: 6px solid transparent;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(15px);
box-shadow: 0 15px 35px rgba(0,0,0,0.1);
animation:
slideInRight 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
fadeOut 0.5s ease 5s forwards;
min-width: 300px;
max-width: 450px;
}
.alert-success { border-color: #4caf50; color: #2e7d32; background: #f1f8e9; }
.alert-error { border-color: #f44336; color: #c62828; background: #ffebee; }
.alert-warning { border-color: #ff9800; color: #e65100; background: #fff3e0; }
.alert-info { border-color: var(--primary); color: #01579b; background: #e1f5fe; }
.alert-icon { font-size: 1.25rem; }
.alert-close {
margin-left: auto;
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
opacity: 0.5;
transition: opacity 0.2s;
}
.alert-close:hover { opacity: 1; }
.modal-backdrop {
position: fixed;
top: 0; left: 0; width: 100%; height: 100%;
background: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(8px);
display: flex;
align-items: center;
justify-content: center;
z-index: 10000;
animation: fadeIn 0.3s ease;
}
.modal-content {
background: #fff;
border-radius: 2.5rem;
padding: 3rem;
box-shadow: 0 25px 50px rgba(0,0,0,0.15);
max-width: 90%;
position: relative;
animation: floatIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.modal-md { width: 500px; }
.modal-lg { width: 800px; }
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
}
.modal-header h3 { font-size: 2rem; font-weight: 800; color: var(--text-main); }
.modal-close {
background: none;
border: none;
font-size: 2.5rem;
cursor: pointer;
line-height: 1;
color: var(--text-muted);
}
.spinner {
display: inline-block;
width: 50px;
height: 50px;
}
.spinner-circle {
width: 100%; height: 100%;
border: 4px solid rgba(0, 188, 212, 0.1);
border-top-color: var(--primary);
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.feedback-overlay {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(10px);
z-index: 11000;
display: none !important;
align-items: center;
justify-content: center;
pointer-events: none;
}
.feedback-content { text-align: center; }
.feedback-content p { margin-top: 1rem; font-weight: 700; color: var(--primary); }
.skeleton-wrapper { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; }
.skeleton-line {
height: 12px;
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: skeleton-loading 1.5s infinite;
border-radius: 6px;
}
@keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.htmx-indicator {
display: none;
}
.htmx-request.feedback-overlay,
.htmx-request .feedback-overlay,
.htmx-request.htmx-indicator,
.htmx-request .htmx-indicator {
display: flex !important;
pointer-events: all;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-state-checkbox:not(:checked) ~ .rustbasic-modal {
display: none;
}
.modal-state-checkbox:checked ~ .rustbasic-modal {
display: flex;
opacity: 1;
}
.rustbasic-modal {
transition: all 0.3s ease;
}
.logout-wrapper {
position: static;
}
.rustbasic-modal {
position: fixed !important;
top: 0; left: 0;
width: 100vw; height: 100vh;
z-index: 99999;
}