/* Styles spécifiques pour les pages internes HotMeet */

/* Styles généraux pour les pages internes */
.pages-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding-top: 100px;
  padding-bottom: 2rem;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
  color: white;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

/* Cartes de contenu améliorées */
.card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card h2 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  border-bottom: 3px solid #8a2be2;
  padding-bottom: 0.5rem;
}

/* Grilles améliorées */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Feature items améliorés */
.feature-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-item h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: #7f8c8d;
  line-height: 1.5;
}

/* Formulaires améliorés */
.form-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.form-section h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2c3e50;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #8a2be2;
  box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.1);
}

.form-help {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-top: 0.25rem;
}

/* Options radio améliorées */
.radio-option {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.radio-option:hover {
  border-color: #8a2be2;
}

.radio-option input[type='radio'] {
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.radio-option div {
  flex: 1;
}

.radio-option span {
  font-weight: 600;
  color: #2c3e50;
  display: block;
  margin-bottom: 0.25rem;
}

.radio-option p {
  color: #7f8c8d;
  margin: 0;
  font-size: 0.9rem;
}

/* Boutons améliorés */
.btn-primary,
.btn-secondary {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: #8a2be2;
  color: white;
}

.btn-primary:hover {
  background: #6a1cb0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #8a2be2;
  border: 2px solid #8a2be2;
}

.btn-secondary:hover {
  background: #8a2be2;
  color: white;
}

/* Upload zones améliorées */
.upload-zone {
  border: 2px dashed #e1e8ed;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.upload-zone:hover {
  border-color: #8a2be2;
}

.upload-zone p {
  margin-bottom: 1rem;
  color: #7f8c8d;
}

.file-input {
  display: none;
}

.upload-btn {
  margin-bottom: 1rem;
}

.photos-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.preview-thumbnail {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #e1e8ed;
}

/* États vides améliorés */
.empty-state {
  text-align: center;
  padding: 3rem;
  color: #7f8c8d;
}

.empty-state p {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Messages de chargement */
.loading {
  text-align: center;
  padding: 2rem;
  color: #7f8c8d;
  font-style: italic;
}

/* Styles spécifiques pour la page messages */
.messages-page {
  min-height: 80vh;
}

.tabs-navigation {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 1rem 1.5rem;
  color: white;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  font-weight: 600;
}

.tab-btn.active {
  border-bottom-color: #ff6b6b;
  color: #ff6b6b;
}

.tab-btn:hover {
  color: #ff6b6b;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.notification-badge {
  background: #ff6b6b;
  color: white;
  border-radius: 50%;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

/* Styles responsifs pour les pages internes */
@media (max-width: 768px) {
  .pages-container {
    padding-top: 80px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .card {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .tabs-navigation {
    flex-direction: column;
    gap: 0.5rem;
  }

  .tab-btn {
    text-align: center;
    padding: 0.75rem;
  }

  .form-section {
    margin-bottom: 1.5rem;
  }

  .radio-option {
    padding: 0.75rem;
  }

  .upload-zone {
    padding: 1rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .pages-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Animations spécifiques pour les pages */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.6s ease-out;
}

.card:nth-child(2) {
  animation-delay: 0.2s;
}

.card:nth-child(3) {
  animation-delay: 0.4s;
}

/* Amélioration de la lisibilité */
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #2c3e50;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

/* Contraste amélioré pour l'accessibilité */
.btn-primary,
.btn-secondary {
  font-weight: 600;
}

.form-input {
  font-size: 16px; /* Évite le zoom sur iOS */
}

/* Focus visible pour l'accessibilité */
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #8a2be2;
  outline-offset: 2px;
}

/* Amélioration des transitions */
* {
  transition: all 0.3s ease;
}
