/* Style général */
.gsg-container {
    max-width: 800px;
    margin: 0 auto;
    background: #2a2c2c;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

gsg-container .h1 {
    text-align: center;
    color: #333;
}

/* Formulaire */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-group button {
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form-group button:hover {
    background-color: #218838;
}

/* Tableau */
gsg-container .table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

gsg-container .table th,
gsg-container .table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

gsg-container .table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

gsg-container .table tr:nth-child(even) {
    background-color: #f9f9f9;
}

gsg-container .table tr:hover {
    background-color: #f1f1f1;
}

/* Notices */
.gsg-notice {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.gsg-notice.error {
    background-color: #ffebee;
    color: #c62828;
}

/* Tableau du stock actuel */
#current-stock {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#current-stock th,
#current-stock td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

#current-stock th {
    background-color: #0073aa; /* Couleur bleue WordPress */
    color: white;
    font-weight: bold;
}

#current-stock tr:nth-child(even) {
    background-color: #f9f9f9;
}

#current-stock tr:hover {
    background-color: #f1f1f1;
}

/* Bouton Envoyer stock de la semaine */
.gsg-button {
    background-color: #a80710; /* Couleur bleue WordPress */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
    transition: background-color 0.3s ease;
	align-items: center;
}

.gsg-button:hover {
    background-color: #ad1328; /* Couleur bleue plus foncée au survol */
}
.gsg-container h2 {
	text-align: center;
}

.gsg-container h1 {
	text-align: center;
}

.gsg-edit-btn {
    background-color: orange;
    border: none;
    padding: 5px 10px;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.gsg-popup {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, 0);
    background: #2a2c2c;
    padding: 20px;
    border: 2px solid #666;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
    z-index: 9999;
}

.gsg-popup input,
.gsg-popup button {
    margin-top: 10px;
}

.gsg-button-valider {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
}

#gsg-close-popup {
    background-color: #a80710;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
}

.gsg-popup h3 {
	text-align: center;
}