.FormOverView {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.form-container {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.security-card {
  max-width: 420px;
  margin: 0 auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.input-group {
  margin-bottom: 16px;

  label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #555;
    font-family: Helvetica;
  }

  .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;

    input {
      width: 100%;
      padding: 10px 40px 10px 12px;
      font-size: 14px;
      border: 1px solid #d1d5db;
      border-radius: 6px;
      outline: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;

      &:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
      }

      &.ng-invalid.ng-touched {
        border-color: #ef4444;
      }

      &:disabled {
        background-color: #f5f5f5;
        cursor: not-allowed;
      }

      // 👇 THIS IS THE NEW ADDITION - Masks text with dots
      &.masked {
        -webkit-text-security: disc;

      }
    }

    .eye-btn {
      position: absolute;
      right: 8px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      display: flex;
      align-items: center;

      mat-icon {
        font-size: 20px;
        color: #6b7280;
      }

      &:hover {
        color: #3f51b5;
      }

    }
  }

  .error {
    color: #f44336;
    font-size: 12px;
    margin-top: 6px;
    display: block;
  }
}

.button-container {
  margin-top: 20px;
  text-align: center;
  display: flex; // 👈 makes them one line
  gap: 16px; // space between buttons
  justify-content: center;

  button {
    width: 200px;
    height: 40px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    background-color: var(--action-primary-default);
    color: #ffffff;
  }

  button[disabled] {
    background-color: #cbd5e1 !important;
    color: #ffffff;
    cursor: not-allowed;
  }
}

.clear-btn {
  background-color: #cbd5e1;
  color: #ffffff;

}
