/* Reset et base */


main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container principal */
.container {
    background: white;
    border-radius: 20px;
    /*box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);*/
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

/* Container pour les formulaires */
.form-container {
    text-align: left;
}

/* Titres */
h1 {
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
    text-align: center;
}

/* Montant */
.amount {
    font-size: 48px;
    font-weight: bold;
    color: #667eea;
    margin: 30px 0;
}

/* Messages */
.message {
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}
.loading-icon {
  display: flex;
  justify-content: center; /* centre horizontalement */
  align-items: center;     /* centre verticalement */
  height: 100vh;           /* prend toute la hauteur de la page (optionnel) */
}

.icon-emoji img {
  width: 100px;            /* ajuste la taille de l’image */
  height: auto;
}
/* Boutons */
.btn {
  background-color: #fe6b70;
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(254, 107, 112, 0.3);
  transition: all 0.3s ease;

  display: block;   /* transforme le bouton en bloc */
  margin: 0 auto;   /* centre horizontalement */
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.btn:active {
    transform: translateY(0);
}

/* Formulaires */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
	text-align:left;
}

input[type="text"],
input[type="tel"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
}

.error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

.info-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Page de chargement */
.loading-container {
    text-align: center;
}

.loading-text {
    font-size: 14px;
    color: #333;
    margin-bottom: 30px;
}

.progress-container {
    width: 100%;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #fe6b70 0%, #fe6b70 100%);
    width: 0%;
    border-radius: 15px;
    transition: width 0.3s ease;
    animation: progress 3s ease-in-out forwards;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Page des banques */
.banks-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
}

.banks-container h1 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.bank-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    display: block;
}

.bank-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.bank-logo {
    width: 120px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 15px;
    display: block;
}

.bank-logo.emoji {
    font-size: 60px;
    line-height: 80px;
    width: auto;
    height: auto;
}

.bank-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* Page de succès */
.success-icon {
    font-size: 80px;
    margin-bottom: 30px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .banks-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .amount {
        font-size: 36px;
    }
}



