/*---------------=CSS=---------------*/


@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Open+Sans:wght@300;400;600;700&display=swap");
body {
  font-family: roboto, "Open Sans", sans-serif;
  color: #0c0c0c;
  background: linear-gradient(90deg,rgba(0, 0, 0, 0.15) 0%, rgba(216, 216, 216, 0.11) 50%, rgba(0, 0, 0, 0.15) 100%);
  overflow-x: hidden;
  margin: 0;
  min-width: 320px;
  max-width: 100vw;
  background-image: repeating-linear-gradient( 45deg, rgba(207, 207, 207, 0.1) 0px, rgba(162, 162, 162, 0.1) 1px, transparent 1px, transparent 5px );

}
html {
  scroll-behavior: smooth;
}
a,
a:hover,
a:focus {
  text-decoration: none;
 
}

.hr-bar {
  border: 1px solid #f0b90b3b;
  margin: 15px 0px;
}

/* Checkbox "Ne pas divulguer" */
.undisclosed-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #b1b1b1;
}

.undisclosed-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #f0b90b;
    cursor: pointer;
}

input[type="number"]:disabled {
    background-color: #2a2a2a;
    color: #666;
    cursor: not-allowed;
    border-color: #444;
}

/* Style pour tous les champs du formulaire d'airdrop lorsqu'ils ont le focus */
.airdrop-publish-container input[type="text"]:focus,
.airdrop-publish-container input[type="number"]:focus,
.airdrop-publish-container input[type="url"]:focus,
.airdrop-publish-container input[type="file"]:focus,
.airdrop-publish-container textarea:focus {
  border-color: #f0b90b; /* Couleur jaune/or comme ton thème */
  outline: none; /* Supprime l'outline par défaut */
  box-shadow: 0 0 0 2px rgba(240, 185, 11, 0.25); /* Ajoute une ombre subtile de la même couleur */
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
input[type="file"]:focus{
    border-color: #f0b90b; /* Couleur jaune/or comme ton thème */
    outline: none; /* Supprime l'outline par défaut */
    box-shadow: 0 0 0 2px rgba(240, 185, 11, 0.25); /* Ajoute une ombre subtile de la même couleur */
}

/* Pour l'éditeur Quill si tu veux également modifier son état focus */
.airdrop-publish-container .ql-container.ql-snow:focus-within {
  border-color: #f0b90b;
  box-shadow: 0 0 0 2px rgba(240, 185, 11, 0.25);
}


:root {
  /* Couleurs avec bon contraste sur fond blanc */
  --text-primary: #212121;     /* Ratio 16:1 */
  --text-secondary: #595959;   /* Ratio 7.5:1 */
  --text-muted: #666666;       /* Ratio 5.7:1 */
  --text-light: #757575;       /* Ratio 4.5:1 (minimum) */
  
  /* Pour fonds colorés */
  --bg-primary: #707070;
  --text-on-primary: #ffffff;  /* Blanc sur #707070 = ratio 4.9:1 */
}

/* Appliquez ces variables */
.brand-primary {
  color: var(--text-secondary);
}

.empty-ranking p,
.premium-loading p {
  color: var(--text-muted);
}

.btn-login {
  color: var(--text-secondary);
}

/* Si fond coloré */
.colored-section {
  background: var(--bg-primary);
  color: var(--text-on-primary);
}


/* ======================================
   LOADER DE PAGE GLOBAL (site-loader)
   Déplacé ici depuis ranking.css
   ====================================== */
.site-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s, visibility 0.3s;
  background: linear-gradient(45deg, #1a1a1a, #2d2d2d);
}

.site-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  animation: pulse 2s infinite ease-in-out;
  border-radius: 50%;
  z-index: 10;
}

/* Spinner global du loader de page */
.site-loader .spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #eee;
  border-top-color: #f0b90b;
  border-radius: 50%;
  margin: 0 auto 15px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.site-loader .loading-text {
  color: #aaa;
  font-size: 16px;
  font-weight: 500;
}