/* Reset & Base Styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
line-height: 1.6;
color: #2d3748;
background: linear-gradient(to right, #f8fafc, #f1f5f9);
padding: 2rem;
max-width: 1200px;
margin: 0 auto;
}
/* Header Styles */
header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
padding-bottom: 1rem;
border-bottom: 2px solid #e2e8f0;
position: sticky;
top: 0;
background: white;
z-index: 10;
}
/* Button System */
button {
background-color: #4CAF50;
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 8px;
cursor: pointer;
font-size: 0.875rem;
font-weight: 500;
transition: all 0.2s ease;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
button:hover {
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
background-color: #45a049;
}
/* Table Container */
.table-container {
margin-bottom: 2.5rem;
border-radius: 12px;
padding: 1.5rem;
background-color: #ffffff;
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
transition: box-shadow 0.3s ease;
}
.table-container:hover {
box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
/* Table Header */
.table-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.25rem;
padding-bottom: 0.75rem;
border-bottom: 1px solid #e2e8f0;
}
/* Table Styles */
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 1rem;
font-size: 0.9375rem;
}
th,
td {
border: 1px solid #e2e8f0;
padding: 1rem;
vertical-align: middle;
transition: background-color 0.2s ease;
}
th {
background-color: #f8fafc;
font-weight: 600;
text-transform: uppercase;
font-size: 0.75rem;
letter-spacing: 0.05em;
color: #4a5568;
}
tr:hover td {
background-color: #f1f5f9;
}
/* Add Row Form */
.add-row {
border: 2px dashed #e2e8f0;
padding: 1rem;
margin-top: 1rem;
border-radius: 8px;
display: flex;
align-items: center;
background-color: #f8fafc;
transition: border-color 0.2s ease;
}
.add-row:hover {
border-color: #cbd5e0;
}
.add-row input[type="text"] {
flex: 1;
padding: 0.5rem 0.75rem;
border-radius: 6px;
border: 1px solid #e2e8f0;
margin-right: 0.75rem;
font-size: 0.875rem;
transition: border-color 0.2s ease;
}
.add-row input[type="text"]:focus {
outline: none;
border-color: #4CAF50;
box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}
/* Action Buttons */
.add-row button {
background-color: #2196F3;
}
.add-row button:hover {
background-color: #0b7dda;
}
.copy-btn {
background-color: #ff9800;
}
.copy-btn:hover {
background-color: #e68a00;
}
/* Enhanced Checkbox */
.checkbox {
width: 20px;
height: 20px;
cursor: pointer;
accent-color: #4CAF50;
transition: transform 0.2s ease;
}
.checkbox:hover {
transform: scale(1.1);
}
/* Responsive Design */
@media (max-width: 768px) {
body {
padding: 1rem;
}
.table-header {
flex-direction: column;
align-items: flex-start;
gap: 0.75rem;
}
th,
td {
padding: 0.75rem;
}
}
/* Subtle Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(5px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
animation: fadeIn 0.3s ease forwards;
}
/* Hover Effects */
.hover\:scale-105:hover {
transform: scale(1.05);
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f5f9;
border-radius: 4px;
}
::-webkit-scrollbar-thumb {
background: #cbd5e0;
border-radius: 4px;
}