/* Styles généraux */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #7b7c7e;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

/* Conteneur principal */
.container {
    text-align: center;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    overflow: hidden;
}

/* Logo */
.logo {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* Cadre pour le texte */
.coming-soon {
    border: 2px solid #009ee0;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px; /* Hauteur minimum pour centrer le texte verticalement */
}

/* Titre principal */
h1 {
    font-size: 36px;
    color: #009ee0;
    margin-bottom: 10px;
}

/* Sous-titre */
h2 {
    font-size: 20px;
    color: #7b7c7e;
    margin-bottom: 30px;
    line-height: 1.4; /* Meilleure lisibilité du texte */
}

/* Informations de contact */
.contact-info p {
    font-size: 18px;
    margin: 10px 0;
}

/* Ajout d'un espace supplémentaire entre les lignes */
.contact-info p:nth-child(3) {
    margin-top: 20px;
}

/* Liens */
.contact-info a {
    color: #009ee0;
    text-decoration: none;
    word-wrap: break-word;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Media queries pour les petits écrans */
@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 18px;
    }

    .contact-info p {
        font-size: 16px;
    }

    .container {
        padding: 20px;
    }

    .coming-soon {
        padding: 15px;
        min-height: 150px;
    }
}

/* uses your site fonts/colors if defined; otherwise falls back */
:root{
  --brand: var(--primary, #3b82f6);
  --text: var(--text-color, #111827);
  --muted: var(--muted-color, #6b7280);
  --panel: var(--surface, #ffffff);
  --border: var(--border-color, #e5e7eb);
  --shadow: 0 8px 20px rgba(0,0,0,.06);
}

.ui-card.files-panel{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(14px, 2vw, 22px);
}

.files-header{
  display:flex; align-items:center; justify-content:space-between;
  gap: 12px; margin-bottom: 10px;
}
.files-title{
  margin:0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--text);
}
.files-count{ color: var(--muted); font-size: .95rem; }

.files-list{ display:flex; flex-direction:column; }

.file-row{
  display:flex; align-items:center; gap:14px;
  padding:14px 4px; border-top:1px solid var(--border);
}
.file-row:first-child{ border-top:0; }

.file-icon{
  flex:0 0 auto; width:36px; height:36px; border-radius:10px;
  display:grid; place-items:center; background: rgba(59,130,246,.08);
}

.file-main{ flex:1 1 auto; min-width:0; }
.file-name{
  font-weight:600; color: var(--text); margin:0 0 4px 0;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.file-meta{ color: var(--muted); font-size:.9rem; }

.file-actions{ flex:0 0 auto; display:flex; align-items:center; gap:10px; }
.file-btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px; border-radius:12px; border:1px solid var(--border);
  text-decoration:none; color: var(--text); background:#fff;
}
.file-btn:hover{ border-color: var(--brand); box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
.file-btn .dlchev{ transform: translateY(1px); }

@media (min-width: 680px){
  .file-btn{ padding:10px 14px; }
}