/* Style global Skydoo COMMON*/
body {
  font-family: Arial, sans-serif;
  margin: 0;
  color: #333;
  background: #f7f7f7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background: #111;
  color: #fff;
  padding: 1rem 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.logo {
  height: 50px;
}

.container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}

main { flex: 1 0 auto;}

h1, h2 {
  color: #f25c05;
}

#modal-password header h3 {
  text-align: center;
  width: 100%;
}



#modal-modules header h3 {
  text-align: center;
  width: 100%;
}



.hero {
  text-align: center;
  padding: 3rem 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tool-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
  text-align: center;
}

.tool-card h2 {
  color: #f25c05;
  margin-top: 0;
}

button, .btn-primary {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  background: #f25c05;
  color: white;
  text-decoration: none;
}

button:hover, .btn-primary:hover {
  background: #d94f04;
}

.btn-primary:disabled{
  background: #ccc;
  cursor: not-allowed;
}

form {
  background: #fff;
  margin: 1rem 0;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
}

form h2 {
  margin-top: 0;
}

label {
  display: block;
  margin: 0.5rem 0;
}

input[type="file"] {
  margin-top: 0.3rem;
}

footer {
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  background: #111;
  color: #fff;
  font-size: 0.9rem;
}

.alerts {
  margin: 16px 0 24px;
}

.alert {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.35;
}

/* Couleurs par catégorie (Bootstrap-like) */
.alert.success {
  background: #e9f7ef;
  border-color: #c7ebd3;
  color: #1e6b3a;
}

.alert.info {
  background: #e8f1fe;
  border-color: #c7d9fd;
  color: #0b3d91;
}

.alert.warning {
  background: #fff8e1;
  border-color: #ffe082;
  color: #7a5700;
}

.alert.danger,
.alert.error {
  background: #fdecea;
  border-color: #f5c6cb;
  color: #a12622;
}

/* (optionnel) petite animation d’apparition */
.alert { animation: fadeIn .2s ease-out; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.index-container {
  background: #fff;
  margin: 1rem 0;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
}