/* Fichier CSS : plantTypeStyles.css */

/* Style des modales spécifiques à plantType */
.plantType-modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.4);
}

.plantType-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 40%;
    border-radius: 8px;
}

.plantType-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.plantType-close:hover,
.plantType-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Style du tableau spécifique à plantType */
.plantType-styled-table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
}

.plantType-styled-table th, .plantType-styled-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.plantType-styled-table th {
    background-color: #e0f7fa;
    color: #00695c;
    font-weight: bold;
}

.plantType-styled-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.plantType-styled-table tr:hover {
    background-color: #f1f1f1;
}

/* Style du bouton spécifique à plantType */
.plantType-action-bar .btn-add {
    background-color: #00796b;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.plantType-action-bar .btn-add:hover {
    background-color: #004d40;
}

.plantType-form-group {
    margin-bottom: 15px;
}

.plantType-form-group label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.plantType-form-group input {
    width: calc(100% - 20px);
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
