{
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
color: #333;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.header {
background: #fff;
padding: 15px 30px;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
margin-bottom: 30px;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
display: flex;
align-items: center;
gap: 15px;
}
.logo img {
height: 50px;
width: auto;
}
.logo h1 {
color: #6d4c91;
font-size: 24px;
font-weight: bold;
}
.user-info {
display: flex;
align-items: center;
gap: 15px;
}
.user-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
border: 2px solid #6d4c91;
}
.user-details h3 {
color: #333;
font-size: 14px;
margin-bottom: 2px;
}
.user-details p {
color: #666;
font-size: 12px;
}
.nav-menu {
background: #fff;
border-radius: 10px;
padding: 20px;
margin-bottom: 30px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.nav-menu ul {
list-style: none;
display: flex;
gap: 30px;
justify-content: center;
}
.nav-menu a {
text-decoration: none;
color: #333;
font-weight: 500;
padding: 10px 20px;
border-radius: 5px;
transition: all 0.3s ease;
}
.nav-menu a:hover,
.nav-menu a.active {
background: linear-gradient(135deg, #6d4c91, #e94057);
color: #fff;
transform: translateY(-2px);
}
.card {
background: #fff;
border-radius: 15px;
padding: 25px;
box-shadow: 0 8px 25px rgba(0,0,0,0.1);
margin-bottom: 25px;
transition: transform 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}
.card-header {
border-bottom: 2px solid #f0f0f0;
padding-bottom: 15px;
margin-bottom: 20px;
}
.card-title {
color: #6d4c91;
font-size: 20px;
font-weight: bold;
margin-bottom: 5px;
}
.btn {
padding: 12px 25px;
border: none;
border-radius: 8px;
cursor: pointer;
font-weight: 500;
text-decoration: none;
display: inline-block;
text-align: center;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
transition: left 0.5s;
}
.btn:hover::before {
left: 100%;
}
.btn-primary {
background: linear-gradient(135deg, #6d4c91, #e94057);
color: #fff;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(109, 76, 145, 0.4);
}
.btn-success {
background: linear-gradient(135deg, #28a745, #20c997);
color: #fff;
}
.btn-warning {
background: linear-gradient(135deg, #ffc107, #fd7e14);
color: #333;
}
.btn-danger {
background: linear-gradient(135deg, #dc3545, #e94057);
color: #fff;
}
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.8);
backdrop-filter: blur(5px);
}
.modal-content {
background: #fff;
margin: 5% auto;
padding: 30px;
border-radius: 20px;
width: 90%;
max-width: 500px;
position: relative;
animation: modalSlideIn 0.4s ease;
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
@keyframes modalSlideIn {
from {
opacity: 0;
transform: translateY(-50px) scale(0.9);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 2px solid #f0f0f0;
}
.modal-title {
color: #6d4c91;
font-size: 22px;
font-weight: bold;
}
.close {
color: #999;
font-size: 28px;
font-weight: bold;
cursor: pointer;
border: none;
background: none;
transition: color 0.3s ease;
}
.close:hover {
color: #e94057;
transform: scale(1.1);
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
color: #333;
font-weight: 500;
}
.form-control {
width: 100%;
padding: 12px 15px;
border: 2px solid #e0e0e0;
border-radius: 8px;
font-size: 16px;
transition: all 0.3s ease;
}
.form-control:focus {
outline: none;
border-color: #6d4c91;
box-shadow: 0 0 10px rgba(109, 76, 145, 0.2);
}
.table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
.table th,
.table td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #e0e0e0;
}
.table th {
background: linear-gradient(135deg, #6d4c91, #e94057);
color: #fff;
font-weight: 600;
}
.table tr:hover {
background: #f8f9fa;
}
.status-badge {
padding: 6px 12px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
}
.status-en-attente {
background: #fff3cd;
color: #856404;
}
.status-payee {
background: #d1edff;
color: #004085;
}
.status-en-retard {
background: #f8d7da;
color: #721c24;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 25px;
margin-bottom: 30px;
}
.stat-card {
background: linear-gradient(135deg, #667eea, #764ba2);
color: #fff;
padding: 25px;
border-radius: 15px;
text-align: center;
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}
.stat-value {
font-size: 32px;
font-weight: bold;
margin-bottom: 10px;
}
.stat-label {
font-size: 14px;
opacity: 0.9;
}
.login-container {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 20px;
}
.login-form {
background: #fff;
padding: 40px;
border-radius: 20px;
box-shadow: 0 20px 60px rgba(0,0,0,0.1);
width: 100%;
max-width: 400px;
text-align: center;
}
.login-logo {
margin-bottom: 30px;
}
.login-logo img {
height: 80px;
width: auto;
}
.login-title {
color: #6d4c91;
font-size: 28px;
font-weight: bold;
margin-bottom: 30px;
}
.alert {
padding: 15px;
border-radius: 8px;
margin-bottom: 20px;
font-weight: 500;
}
.alert-success {
background: #d1edff;
color: #004085;
border-left: 4px solid #007bff;
}
.alert-error {
background: #f8d7da;
color: #721c24;
border-left: 4px solid #dc3545;
}
.footer {
text-align: center;
padding: 20px;
color: #666;
background: #fff;
border-radius: 10px;
margin-top: 30px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
.header {
flex-direction: column;
gap: 15px;
text-align: center;
}
.nav-menu ul {
    flex-direction: column;
    gap: 10px;
}

.grid {
    grid-template-columns: 1fr;
}

.modal-content {
    margin: 10% auto;
    width: 95%;
    padding: 20px;
}
}