body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f9;
}

header {
    background: #09aef0;
    color: white;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-title img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

/* Bouton Dashboard */
.btn-dashboard {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: #09aef0;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-dashboard:hover {
    background: #007bb5;
    transform: translateY(-2px);
}

.btn-retour {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #09aef0;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-retour:hover {
    background: transparent;
    color: white;
    border: 2px solid white;
    transform: translateX(-5px);
}


.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 30px;
}

.card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card i {
    font-size: 40px;
    color: #09aef0;
    margin-bottom: 15px;
}

.card h2 {
    margin: 0;
}

.card:hover {
    transform: translateY(-10px);
    background: #09aef0;
    color: white;
}

.card:hover i {
    color: white;
}
form input, form select, form textarea {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

button {
    background: #09aef0;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
}

button:hover {
    background: #007bb5;
}

select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
}
hr {
    margin: 20px 0;
}


table {
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    text-align: center;
}

tr:hover {
    background: #f2f2f2;
}

input[type="text"] {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
}
.btn-view {
    color: green;
    margin: 0 5px;
}

.btn-print {
    color: #09aef0;
    margin: 0 5px;
}
input[type="number"] {
    width: 100%;
}
label {
    display: block;
    margin: 5px 0;
    cursor: pointer;
}
.btn-export {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #09aef0;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-export:hover {
    background: #078ac2;
    transform: translateY(-2px);
}

.btn-export i {
    margin-right: 8px;
}

.btn-export.disabled {
    background: gray;
    pointer-events: none;
    opacity: 0.6;
}
#loginModal{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.login-box{
    background:white;
    padding:30px;
    border-radius:10px;
    width:300px;
    text-align:center;
}

.login-box input{
    width:100%;
    margin:10px 0;
    padding:10px;
}

.login-box button{
    width:100%;
    padding:10px;
    background:#09aef0;
    color:white;
    border:none;
}