privateuserh's picture
Update style.css
277aec4 verified
raw
history blame
3.8 kB
/* --- THEME & VARIABLES --- */
:root {
--navy-dark: #0a192f;
--navy-light: #112240;
--slate-light: #ccd6f6;
--slate-medium: #8892b0;
--cyan-accent: #64ffda;
--cyan-accent-transparent: rgba(100, 255, 218, 0.1);
--success-color: #64ffda;
--error-color: #ff8b8b;
}
/* --- GLOBAL STYLES & RESET --- */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background-color: var(--navy-dark);
color: var(--slate-medium);
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 20px;
font-size: 16px;
line-height: 1.5;
}
.content-wrapper {
width: 100%;
max-width: 700px;
}
/* --- HEADER & LOGO --- */
.page-header {
text-align: center;
margin-bottom: 50px;
}
.logo {
width: 100px;
height: 100px;
margin-bottom: 20px;
}
h1, h2, h3 {
color: var(--slate-light);
font-weight: 700;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 1.5rem; margin-bottom: 20px; }
h3 { font-size: 1.75rem; margin-bottom: 25px; }
/* --- FORM CONTAINER & ELEMENTS --- */
.form-container {
background-color: var(--navy-light);
padding: 30px;
border-radius: 8px;
margin-bottom: 30px;
border: 1px solid #1a2c4e;
}
.form-group {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 8px;
font-size: 0.9rem;
font-weight: 500;
}
input, textarea {
width: 100%;
padding: 14px;
background-color: rgba(10, 25, 47, 0.7); /* Glassmorphism effect */
border: 1px solid var(--navy-dark);
border-radius: 6px;
color: var(--slate-light);
font-size: 1rem;
transition: all 0.25s ease;
}
input:focus, textarea:focus {
outline: none;
border-color: var(--cyan-accent);
box-shadow: 0 0 10px -3px var(--cyan-accent);
}
hr {
border: none;
border-top: 1px solid var(--navy-dark);
margin: 25px 0;
}
/* --- BUTTONS --- */
button {
width: 100%;
padding: 15px;
background-color: transparent;
border: 1px solid var(--cyan-accent);
border-radius: 6px;
color: var(--cyan-accent);
font-size: 1rem;
font-weight: 500;
cursor: pointer;
transition: background-color 0.25s ease;
}
button:hover {
background-color: var(--cyan-accent-transparent);
}
.floating-action-button {
position: fixed;
bottom: 30px;
right: 30px;
width: 60px;
height: 60px;
background-color: var(--cyan-accent);
border-radius: 50%;
border: none;
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
cursor: pointer;
z-index: 999;
display: flex;
justify-content: center;
align-items: center;
transition: transform 0.2s ease;
}
.floating-action-button svg {
fill: var(--navy-dark);
}
.floating-action-button:hover {
background-color: var(--cyan-accent);
transform: scale(1.1);
}
/* --- ADMIN PANEL --- */
.admin-panel summary {
cursor: pointer;
font-weight: 700;
font-size: 1.1rem;
color: var(--cyan-accent);
}
.details-content {
margin-top: 20px;
}
/* --- STATUS & MODAL STYLES --- */
.status {
text-align: center;
margin-top: 20px;
padding: 14px;
border-radius: 6px;
font-weight: 500;
display: none;
}
.status.success {
display: block;
background-color: var(--cyan-accent-transparent);
color: var(--success-color);
border: 1px solid var(--success-color);
}
.status.error {
display: block;
background-color: rgba(229, 62, 62, 0.1);
color: var(--error-color);
border: 1px solid var(--error-color);
}
/* All previous modal styles remain valid */
.hidden { display: none !important; }
.modal-backdrop, .modal-content, .modal-close {
/* Retain previous modal styles */
}