35690-vm/assets/css/custom.css
2025-11-13 13:40:09 +00:00

140 lines
3.0 KiB
CSS

:root {
--primary-color: #8a2be2; /* Bright Purple */
--secondary-color: #ff1493; /* Deep Pink */
--accent-color: #ff4500; /* Orange Red */
--light-color: #ffffff;
--dark-color: #1a1a1a;
--background-color: #f0e6ff; /* Light Lavender */
--font-family-headings: 'Poppins', sans-serif;
--font-family-body: 'Montserrat', sans-serif;
}
body {
background-color: var(--background-color);
font-family: var(--font-family-body);
color: var(--dark-color);
}
.hero {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: var(--light-color);
padding: 5rem 2rem;
border-radius: 20px;
text-align: center;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
transform: scale(1.02);
}
.hero h1 {
font-family: var(--font-family-headings);
font-weight: 700;
font-size: 3.5rem;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.form-section, .list-section {
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(10px);
padding: 2.5rem;
border-radius: 20px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
margin-top: 3rem;
transition: transform 0.3s ease-in-out;
}
.form-section:hover, .list-section:hover {
transform: translateY(-10px);
}
h2 {
font-family: var(--font-family-headings);
color: var(--primary-color);
margin-bottom: 1.5rem;
}
.form-control, .form-select {
border-radius: 10px;
padding: 0.75rem 1rem;
border: 1px solid #ddd;
transition: all 0.3s ease;
}
.form-control:focus, .form-select:focus {
border-color: var(--primary-color);
box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}
.btn-primary {
background-image: linear-gradient(to right, var(--accent-color), var(--secondary-color));
border: none;
border-radius: 10px;
padding: 0.75rem 1.5rem;
font-weight: 500;
color: var(--light-color);
transition: all 0.4s ease;
background-size: 200% auto;
animation: pulse 2s infinite;
}
.btn-primary:hover {
background-position: right center;
transform: scale(1.05);
box-shadow: 0 5px 15px rgba(255, 20, 147, 0.4);
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.03); }
100% { transform: scale(1); }
}
.table {
margin-top: 2rem;
border-collapse: separate;
border-spacing: 0 10px;
}
.table thead th {
background-color: var(--primary-color);
color: var(--light-color);
border: none;
}
.table tbody tr {
background-color: var(--light-color);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
border-radius: 10px;
}
.table tbody td {
padding: 1rem;
}
.table tbody tr td:first-child {
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
}
.table tbody tr td:last-child {
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
}
.table a {
color: var(--accent-color);
text-decoration: none;
font-weight: 500;
}
.table a:hover {
text-decoration: underline;
}
.toast-container {
position: fixed;
top: 1rem;
right: 1rem;
z-index: 1055;
}