Spaces:
Build error
Build error
:root { | |
--primary-color: #4361ee; | |
--secondary-color: #3a0ca3; | |
--accent-color: #4cc9f0; | |
--light-color: #f8f9fa; | |
--dark-color: #212529; | |
--success-color: #2ecc71; | |
--danger-color: #e74c3c; | |
--warning-color: #f39c12; | |
} | |
* { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
} | |
body { | |
font-family: 'Poppins', sans-serif; | |
background-color: #f5f7fa; | |
color: var(--dark-color); | |
line-height: 1.6; | |
} | |
.container { | |
max-width: 1200px; | |
margin: 0 auto; | |
padding: 20px; | |
} | |
header { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
margin-bottom: 30px; | |
padding-bottom: 15px; | |
border-bottom: 1px solid #e0e0e0; | |
} | |
header h1 { | |
color: var(--primary-color); | |
font-size: 28px; | |
font-weight: 600; | |
} | |
header h1 i { | |
margin-right: 10px; | |
} | |
.actions { | |
display: flex; | |
gap: 10px; | |
} | |
.btn { | |
padding: 8px 15px; | |
border: none; | |
border-radius: 5px; | |
cursor: pointer; | |
font-size: 14px; | |
font-weight: 500; | |
transition: all 0.3s ease; | |
display: flex; | |
align-items: center; | |
gap: 5px; | |
} | |
.btn-primary { | |
background-color: var(--primary-color); | |
color: white; | |
} | |
.btn-primary:hover { | |
background-color: var(--secondary-color); | |
} | |
.btn i { | |
font-size: 14px; | |
} | |
.stats-container { | |
display: grid; | |
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
gap: 20px; | |
margin-bottom: 30px; | |
} | |
.stat-card { | |
background: white; | |
border-radius: 10px; | |
padding: 20px; | |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
text-align: center; | |
} | |
.stat-value { | |
font-size: 32px; | |
font-weight: 700; | |
color: var(--primary-color); | |
margin-bottom: 5px; | |
} | |
.stat-label { | |
font-size: 14px; | |
color: #666; | |
} | |
.table-container { | |
background: white; | |
border-radius: 10px; | |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
overflow-x: auto; | |
} | |
table { | |
width: 100%; | |
border-collapse: collapse; | |
} | |
th, td { | |
padding: 12px 15px; | |
text-align: left; | |
border-bottom: 1px solid #e0e0e0; | |
} | |
th { | |
background-color: var(--primary-color); | |
color: white; | |
font-weight: 500; | |
position: sticky; | |
top: 0; | |
} | |
tr:nth-child(even) { | |
background-color: #f9f9f9; | |
} | |
tr:hover { | |
background-color: #f1f1f1; | |
} | |
@media (max-width: 768px) { | |
header { | |
flex-direction: column; | |
align-items: flex-start; | |
gap: 15px; | |
} | |
.actions { | |
width: 100%; | |
justify-content: flex-end; | |
} | |
th, td { | |
padding: 8px 10px; | |
} | |
} |