/* login-modal.css - DARK THEME */

.fv-modal {
    position: fixed;
    z-index: 4000;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .fv-modal-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 36px 28px 22px 28px;
    padding-top: 46px;
    border-radius: 20px;
    min-width: 330px;
    max-width: 95vw;
    width: 380px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Poppins', Arial, sans-serif;
  }
  
  .fv-close-modal {
    position: absolute;
    top: 12px; right: 18px;
    font-size: 2.1rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-weight: 700;
    background: none;
    border: none;
    z-index: 50;
    transition: color 0.13s;
  }
  .fv-close-modal:hover,
  .fv-close-modal:focus {
    color: #69B254;
    outline: none;
  }

  .fv-auth-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0.3px;
  }
  
  #auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin-bottom: 14px;
  }
  
  .fv-auth-input {
    padding: 12px 14px;
    min-height: 44px;
    border-radius: 8px;
    border: 1.4px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1.07rem;
    font-family: inherit;
    outline: none;
    transition: border 0.16s, background 0.16s;
    box-sizing: border-box;
  }
  .fv-auth-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
  }
  .fv-auth-input:focus {
    border: 1.4px solid #69B254;
    background: rgba(105, 178, 84, 0.1);
  }
  
  .fv-auth-submit {
    background: linear-gradient(135deg, #69B254 0%, #5fa149 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 12px 0;
    min-height: 48px;
    margin-top: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 15px rgba(105, 178, 84, 0.4);
  }
  .fv-auth-submit:hover {
    background: linear-gradient(135deg, #7bc463 0%, #69B254 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(105, 178, 84, 0.6);
  }
  
  .fv-google-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1.4px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1.08rem;
    font-weight: 600;
    padding: 12px 0;
    min-height: 48px;
    margin: 7px 0 7px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
  }
  .fv-google-btn:hover {
    background: rgba(105, 178, 84, 0.15);
    border: 1.4px solid #69B254;
    transform: translateY(-2px);
  }
  .fv-google-icon {
    width: 22px; height: 22px;
    vertical-align: middle;
  }
  
  .fv-auth-switch {
    width: 100%;
    text-align: center;
    margin: 18px 0 0 0;
    font-size: 1.03rem;
    color: rgba(255, 255, 255, 0.8);
  }
  .fv-auth-switch a {
    color: #7bc463;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 5px;
    cursor: pointer;
    transition: color 0.14s;
  }
  .fv-auth-switch a:hover { color: #69B254; }

  .fv-login-error {
    color: #ff6b6b;
    font-size: 1rem;
    min-height: 16px;
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
  }
  
  /* Responsive modal */
  @media (max-width: 480px) {
    .fv-modal-content {
      padding: 18px 5vw 18px 5vw;
      min-width: 0;
      width: 94vw;
      max-width: 99vw;
      border-radius: 12px;
    }
    .fv-auth-title {
      font-size: 1.22rem;
    }
  }

  @media (max-width: 360px) {
    .fv-modal-content {
      padding: 16px 4vw;
      width: 96vw;
    }
    .fv-auth-title {
      font-size: 1.1rem;
    }
    .fv-auth-input {
      font-size: 0.95rem;
      padding: 10px 12px;
    }
  }
  