/* Mot de passe oublié - Style alternatif */

/* Variables */
:root {
    --primary-color: #aaff00;
    --primary-dark: #88cc00;
    --primary-light: #c8ff33;
    --dark-bg: #121212;
    --card-bg: #1e1e1e;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --border-color: #333;
    --input-bg: #2a2a2a;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --error-color: #ff4d4d;
    --success-color: #4caf50;
  }
  
  /* Floating Elements */
  .floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
  }
  
  .floating-item {
    position: absolute;
    opacity: 0.15;
    filter: blur(1px);
    animation: float 15s infinite ease-in-out;
  }
  
  .item1 {
    width: 150px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 18s;
  }
  
  .item2 {
    width: 200px;
    top: 60%;
    right: 5%;
    animation-delay: -5s;
    animation-duration: 20s;
  }
  
  @keyframes float {
    0%,
    100% {
      transform: translateY(0) rotate(0deg);
    }
    25% {
      transform: translateY(-20px) rotate(5deg);
    }
    50% {
      transform: translateY(10px) rotate(-3deg);
    }
    75% {
      transform: translateY(-15px) rotate(2deg);
    }
  }
  
  /* Main Container */
  .password-recovery-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
    position: relative;
    z-index: 1;
  }
  
  /* Recovery Card */
  .recovery-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow-color);
    width: 100%;
    max-width: 550px;
    overflow: hidden;
    position: relative;
  }
  
  .recovery-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color), var(--primary-dark));
    z-index: 1;
  }
  
  /* Card Header */
  .card-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
  }
  
  .card-header h1 {
    font-size: 28px;
    margin: 0 0 10px;
    color: var(--text-color);
    font-weight: 700;
  }
  
  .card-header p {
    color: var(--text-muted);
    margin: 0;
    font-size: 16px;
  }
  
  /* Recovery Options */
  .recovery-options {
    padding: 30px;
  }
  
  /* Tabs */
  .option-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
  }
  
  .tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
  }
  
  .tab-btn:hover {
    color: var(--text-color);
  }
  
  .tab-btn.active {
    color: var(--primary-color);
  }
  
  .tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
  }
  
  /* Tab Content */
  .tab-content {
    display: block;
  }
  
  .tab-content.hidden {
    display: none;
  }
  
  /* Form Styles */
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
  }
  
  .form-group input,
  .form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 16px;
    transition: all 0.3s ease;
  }
  
  .form-group input:focus,
  .form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(170, 255, 0, 0.2);
  }
  
  .form-group small {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 14px;
  }
  
  /* Form Actions */
  .form-actions {
    margin-top: 30px;
  }
  
  .btn-primary {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
  }
  
  .btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
  }
  
  .btn-primary:active {
    transform: translateY(0);
  }
  
  /* Info Box */
  .recovery-info {
    padding: 0 30px 20px;
  }
  
  .info-box {
    display: flex;
    background-color: rgba(170, 255, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
  }
  
  .info-icon {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 3px;
  }
  
  .info-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: var(--text-color);
  }
  
  .info-content p {
    margin: 0 0 12px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5;
  }
  
  .support-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .support-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
  }
  
  /* Footer */
  .recovery-footer {
    padding: 20px 30px 30px;
    text-align: center;
    border-top: 1px solid var(--border-color);
  }
  
  .back-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
  }
  
  .back-link svg {
    margin-right: 8px;
  }
  
  .back-link:hover {
    color: var(--primary-color);
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .recovery-card {
      max-width: 100%;
    }
  
    .card-header {
      padding: 25px 20px 15px;
    }
  
    .recovery-options,
    .recovery-info,
    .recovery-footer {
      padding-left: 20px;
      padding-right: 20px;
    }
  
    .option-tabs {
      margin-bottom: 20px;
    }
  
    .tab-btn {
      padding: 10px 15px;
      font-size: 15px;
    }
  
    .form-group label {
      font-size: 15px;
    }
  
    .form-group input,
    .form-group select,
    .btn-primary {
      padding: 12px;
      font-size: 15px;
    }
  }
  
  @media (max-width: 480px) {
    .card-header h1 {
      font-size: 24px;
    }
  
    .card-header p {
      font-size: 14px;
    }
  
    .option-tabs {
      flex-direction: column;
      border-bottom: none;
    }
  
    .tab-btn {
      text-align: left;
      padding: 10px 0;
      border-bottom: 1px solid var(--border-color);
    }
  
    .tab-btn.active::after {
      display: none;
    }
  
    .tab-btn.active {
      border-bottom-color: var(--primary-color);
    }
  
    .info-box {
      flex-direction: column;
    }
  
    .info-icon {
      margin-bottom: 10px;
    }
  }
  