/* ✅ Components.css : Boutons, formulaires, cartes réutilisables */

.tile {
  background:#fff;
  border:1px solid #ddd;
  border-radius:8px;
  padding:1rem;
  margin-bottom:1rem;
  box-shadow:0 1px 3px rgba(0,0,0,.08);
}



.btn-primary {
    display: inline-block;
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #0056b3;
}
.container {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

.template-list {
    list-style-type: none;
    padding: 0;
}

.template-list li {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.template-list h3 {
    margin-top: 0;
}

.template-list .btn {
    background-color: #003366;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.template-list .btn:hover {
    background-color: #0055A4;
}

.historique-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.historique-table th, .historique-table td {
    border: 1px solid #ddd;
    padding: 10px;
}

.historique-table th {
    background-color: #003366;
    color: white;
}

.historique-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.historique-table tr:hover {
    background-color: #ddd;
}
.btn-ai {
    display: inline-block;
    padding: 8px 12px;
    background-color: #003366;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
    font-weight: bold;
}

.btn-ai:hover {
    background-color: #0055A4;
}
.api-matrix {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.api-matrix th, .api-matrix td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
}

.api-matrix th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.api-matrix td.green {
    background-color: #d4edda;
    color: #155724;
}

.api-matrix td.red {
    background-color: #f8d7da;
    color: #721c24;
}
.btn-red {
  background-color: #dc3545;
  color: #fff !important;   /* 🔥 force le blanc */
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-green {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-red:hover, .btn-green:hover {
  opacity: 0.9;
}
.text-success {
  color: #28a745 !important;
}

.text-danger {
  color: #dc3545 !important;
}

.btn-outline-light {
  color: #222;
  border: 1px solid #ccc;
  background-color: transparent;
  transition: all 0.2s ease-in-out;
}

.btn-outline-light:hover {
  color: #fff;
  background-color: #000;
  border-color: #000;
}

.btn-outline-light:active {
  background-color: #000;
  border-color: #111;
}
